mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 00:59:17 +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/bio.h>
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
|
#include <openssl/ssl.h>
|
||||||
|
|
||||||
static const unsigned char key[16] = "0123456789abcde";
|
static const unsigned char key[16] = "0123456789abcde";
|
||||||
|
|
||||||
@ -106,6 +107,10 @@ static void
|
|||||||
test(void)
|
test(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
SSL_library_init();
|
||||||
|
OpenSSL_add_ssl_algorithms();
|
||||||
|
SSL_load_error_strings();
|
||||||
|
|
||||||
encrypt();
|
encrypt();
|
||||||
|
|
||||||
puts("Ciphertext is:");
|
puts("Ciphertext is:");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user