X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=ssl%2Fssl_task.c;h=b5ce44b47c56e44fcd245089742002a2fbb0fed0;hb=8cd897a42c973ed3a76ef1946f0d9eda1b6b12ec;hp=321e35c83ba62d0d8b6a0897014a6b76a4e38993;hpb=470df4b90563e3ef3e4fff1771f88e78b72cc760;p=oweals%2Fopenssl.git diff --git a/ssl/ssl_task.c b/ssl/ssl_task.c index 321e35c83b..b5ce44b47c 100644 --- a/ssl/ssl_task.c +++ b/ssl/ssl_task.c @@ -124,7 +124,7 @@ int LIB$INIT_TIMER(), LIB$SHOW_TIMER(); #include /* from ssltest.c */ #include -#include "openssl/e_os.h" +#include "e_os.h" #include #include @@ -226,7 +226,7 @@ int main ( int argc, char **argv ) printf("cipher list: %s\n", cipher ? cipher : "{undefined}" ); SSL_load_error_strings(); - SSLeay_add_all_algorithms(); + OpenSSL_add_all_algorithms(); /* DRM, this was the original, but there is no such thing as SSLv2() s_ctx=SSL_CTX_new(SSLv2()); @@ -258,7 +258,7 @@ int doit(io_channel chan, SSL_CTX *s_ctx ) { int status, length, link_state; struct rpc_msg msg; - static char cbuf[200],sbuf[200]; + SSL *s_ssl=NULL; BIO *c_to_s=NULL; BIO *s_to_c=NULL;