X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fssl_task.c;h=b5ce44b47c56e44fcd245089742002a2fbb0fed0;hp=b971a270d42941f2c636282fc74292793c7fdb8d;hb=2911575c6e790541e495927a60121d7546a66962;hpb=17e3dd1c62e9aadcd908c55e650f70379d2d19e2 diff --git a/ssl/ssl_task.c b/ssl/ssl_task.c index b971a270d4..b5ce44b47c 100644 --- a/ssl/ssl_task.c +++ b/ssl/ssl_task.c @@ -123,6 +123,9 @@ int LIB$INIT_TIMER(), LIB$SHOW_TIMER(); #include /* from ssltest.c */ #include + +#include "e_os.h" + #include #include #include @@ -223,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()); @@ -255,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;