diff --git a/source/sign.c b/source/sign.c index 6236dea..84586a2 100644 --- a/source/sign.c +++ b/source/sign.c @@ -7,6 +7,7 @@ #include #include +#include #include #include @@ -168,6 +169,8 @@ int do_sign(int argc, char *argv[]) return -1; } + SSL_load_error_strings(); + SSL_library_init(); OpenSSL_add_all_algorithms(); if (!(key = open_priv_key(args.key))) { diff --git a/source/verify.c b/source/verify.c index 0b84e32..75c86f2 100644 --- a/source/verify.c +++ b/source/verify.c @@ -9,6 +9,7 @@ #include #include +#include #include #include @@ -229,6 +230,8 @@ int do_verify(int argc, char *argv[]) return -1; } + SSL_load_error_strings(); + SSL_library_init(); OpenSSL_add_all_algorithms(); if (verify_all(&count, &total, args.certs, args.image) < 0) {