mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 10:10:11 +08:00
openssl01: Call standard initialization functions
This commit is contained in:
parent
a7079138c1
commit
afc0c81a5f
@ -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:");
|
||||
|
Loading…
x
Reference in New Issue
Block a user