diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-25 09:40:18 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-25 09:40:18 +0200 |
commit | afc0c81a5fb8ac7fd36b478f3775f2e58334778b (patch) | |
tree | d6b0663253e48b255bca4b8af56e690f2784542b /testsuite/openssl01/test_main.c | |
parent | openssl01: New test (diff) | |
download | rtems-libbsd-afc0c81a5fb8ac7fd36b478f3775f2e58334778b.tar.bz2 |
openssl01: Call standard initialization functions
Diffstat (limited to '')
-rw-r--r-- | testsuite/openssl01/test_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <openssl/bio.h> #include <openssl/evp.h> +#include <openssl/ssl.h> 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:"); |