diff options
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s2_lib.c | 1 | ||||
-rw-r--r-- | ssl/s3_clnt.c | 2 | ||||
-rw-r--r-- | ssl/s3_enc.c | 2 | ||||
-rw-r--r-- | ssl/s3_lib.c | 2 | ||||
-rw-r--r-- | ssl/s3_srvr.c | 2 | ||||
-rw-r--r-- | ssl/ssl_algs.c | 4 | ||||
-rw-r--r-- | ssl/t1_enc.c | 2 |
7 files changed, 13 insertions, 2 deletions
diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c index e56901bacf..39ab1b6c75 100644 --- a/ssl/s2_lib.c +++ b/ssl/s2_lib.c @@ -60,6 +60,7 @@ #include <stdio.h> #include <openssl/rsa.h> #include <openssl/objects.h> +#include <openssl/md5.h> #include "ssl_locl.h" static long ssl2_default_timeout(void ); diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 327c4dd134..e0871c47ef 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -60,6 +60,8 @@ #include <openssl/buffer.h> #include <openssl/rand.h> #include <openssl/objects.h> +#include <openssl/md5.h> +#include <openssl/sha.h> #include <openssl/evp.h> #include "ssl_locl.h" diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c index 2113ff3250..3ef8676c34 100644 --- a/ssl/s3_enc.c +++ b/ssl/s3_enc.c @@ -57,6 +57,8 @@ */ #include <stdio.h> +#include <openssl/md5.h> +#include <openssl/sha.h> #include <openssl/evp.h> #include "ssl_locl.h" diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index d21772ec93..c41e2548bd 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -57,6 +57,8 @@ */ #include <stdio.h> +#include <openssl/md5.h> +#include <openssl/sha.h> #include <openssl/objects.h> #include "ssl_locl.h" diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 0379cc58c5..154b6ada34 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -62,6 +62,8 @@ #include <openssl/buffer.h> #include <openssl/rand.h> #include <openssl/objects.h> +#include <openssl/md5.h> +#include <openssl/sha.h> #include <openssl/evp.h> #include <openssl/x509.h> #include "ssl_locl.h" diff --git a/ssl/ssl_algs.c b/ssl/ssl_algs.c index 6e198ecac5..726289ab74 100644 --- a/ssl/ssl_algs.c +++ b/ssl/ssl_algs.c @@ -85,11 +85,11 @@ int SSL_library_init(void) EVP_add_digest_alias(SN_md5,"ssl2-md5"); EVP_add_digest_alias(SN_md5,"ssl3-md5"); #endif -#ifndef NO_SHA1 +#ifndef NO_SHA EVP_add_digest(EVP_sha1()); /* RSA with sha1 */ EVP_add_digest_alias(SN_sha1,"ssl3-sha1"); #endif -#if !defined(NO_SHA1) && !defined(NO_DSA) +#if !defined(NO_SHA) && !defined(NO_DSA) EVP_add_digest(EVP_dss1()); /* DSA with sha1 */ #endif diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 05a3382af9..914b743498 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -58,6 +58,8 @@ #include <stdio.h> #include <openssl/comp.h> +#include <openssl/md5.h> +#include <openssl/sha.h> #include <openssl/evp.h> #include <openssl/hmac.h> #include "ssl_locl.h" |