X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=demos%2Fbio%2Fsconnect.c;h=87b380b258cb8f5b0c3574ec5aa07ac37a3fde0b;hb=864170286aac222b31d8946317bfc5eae5fe09a1;hp=8fb6302b9459bc37247d39a2bf6506f24b89e112;hpb=ec577822f95a8bca0023c5c77cef1a4916822d4a;p=oweals%2Fopenssl.git diff --git a/demos/bio/sconnect.c b/demos/bio/sconnect.c index 8fb6302b94..87b380b258 100644 --- a/demos/bio/sconnect.c +++ b/demos/bio/sconnect.c @@ -9,6 +9,7 @@ */ #include #include +#include #include #include @@ -35,7 +36,7 @@ char *argv[]; SSL_load_error_strings(); /* Setup all the global SSL stuff */ - SSLeay_add_ssl_algorithms(); + OpenSSL_add_ssl_algorithms(); ssl_ctx=SSL_CTX_new(SSLv23_client_method()); /* Lets make a SSL structure */