From afc0c81a5fb8ac7fd36b478f3775f2e58334778b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 25 Oct 2018 09:40:18 +0200 Subject: openssl01: Call standard initialization functions --- testsuite/openssl01/test_main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testsuite/openssl01/test_main.c b/testsuite/openssl01/test_main.c index 3fd611b4..4359b5f0 100644 --- a/testsuite/openssl01/test_main.c +++ b/testsuite/openssl01/test_main.c @@ -43,6 +43,7 @@ #include #include +#include static const unsigned char key[16] = "0123456789abcde"; @@ -106,6 +107,10 @@ static void test(void) { + SSL_library_init(); + OpenSSL_add_ssl_algorithms(); + SSL_load_error_strings(); + encrypt(); puts("Ciphertext is:"); -- cgit v1.2.3