X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=demos%2Fbio%2Fsconnect.c;h=87b380b258cb8f5b0c3574ec5aa07ac37a3fde0b;hb=864170286aac222b31d8946317bfc5eae5fe09a1;hp=68296da806be92fe7325e0cf1dacee6ec30d2476;hpb=dfeab0689f69c0b4bd3480ffd37a9cacc2f17d9c;p=oweals%2Fopenssl.git diff --git a/demos/bio/sconnect.c b/demos/bio/sconnect.c index 68296da806..87b380b258 100644 --- a/demos/bio/sconnect.c +++ b/demos/bio/sconnect.c @@ -9,8 +9,9 @@ */ #include #include -#include "err.h" -#include "ssl.h" +#include +#include +#include extern int errno; @@ -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 */