1 | $OpenBSD: patch-ssl_ssldecode_c,v 1.1 2002/06/16 19:43:39 pvalchev Exp $ |
---|
2 | --- ssl/ssldecode.c.orig Sun Jun 16 13:41:46 2002 |
---|
3 | +++ ssl/ssldecode.c Sun Jun 16 13:42:10 2002 |
---|
4 | @@ -51,6 +51,7 @@ |
---|
5 | #include <openssl/ssl.h> |
---|
6 | #include <openssl/hmac.h> |
---|
7 | #include <openssl/evp.h> |
---|
8 | +#include <openssl/md5.h> |
---|
9 | #include <openssl/x509v3.h> |
---|
10 | #endif |
---|
11 | #include "ssldecode.h" |
---|
12 | @@ -132,7 +132,8 @@ |
---|
13 | ssl_decode_ctx *d=0; |
---|
14 | int r,_status; |
---|
15 | |
---|
16 | - SSLeay_add_all_algorithms(); |
---|
17 | + SSL_library_init(); |
---|
18 | + OpenSSL_add_all_algorithms(); |
---|
19 | if(!(d=(ssl_decode_ctx *)malloc(sizeof(ssl_decode_ctx)))) |
---|
20 | ABORT(R_NO_MEMORY); |
---|
21 | if(!(d->ssl_ctx=SSL_CTX_new(SSLv23_server_method()))) |
---|