Description: fix MD5_CTX undeclared Author: Luk Claes Bug-Debian: http://bugs.debian.org/337453 --- ssl/ssldecode.c +++ ssl/ssldecode.c @@ -51,6 +51,7 @@ #include #include #include +#include #include #endif #include "ssldecode.h" @@ -131,7 +132,8 @@ int ssl_decode_ctx_create(dp,keyfile,pas ssl_decode_ctx *d=0; int r,_status; - SSLeay_add_all_algorithms(); + SSL_library_init(); + OpenSSL_add_all_algorithms(); if(!(d=(ssl_decode_ctx *)malloc(sizeof(ssl_decode_ctx)))) ABORT(R_NO_MEMORY); if(!(d->ssl_ctx=SSL_CTX_new(SSLv23_server_method())))