From d1aad00a59b7f869ed8ecd26482812add01ea9a6 Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Mon, 30 Dec 2013 14:33:51 -0800 Subject: [PATCH] Load OpenSSL error strings in main() So we can report errors from OpenSSL. --- git-crypt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-crypt.cpp b/git-crypt.cpp index a70c3c6..bd58391 100644 --- a/git-crypt.cpp +++ b/git-crypt.cpp @@ -32,6 +32,7 @@ #include "util.hpp" #include #include +#include static void print_usage (const char* argv0) { @@ -62,6 +63,7 @@ try { return 2; } + ERR_load_crypto_strings(); if (strcmp(argv[1], "init") == 0 && argc == 3) { init(argv[0], argv[2]);