diff options
author | 2014-04-17 21:15:37 +0000 | |
---|---|---|
committer | 2014-04-17 21:15:37 +0000 | |
commit | ad5fa25f757422b36eab82e6ab07d487c68f9d28 (patch) | |
tree | ccc4aa6a65af6fed21acef2f8323d3b613fccdc8 /lib/libssl/t1_lib.c | |
parent | OpenBSD isn't NetWare or Windows, and it has SIGPIPE. (diff) | |
download | wireguard-openbsd-ad5fa25f757422b36eab82e6ab07d487c68f9d28.tar.xz wireguard-openbsd-ad5fa25f757422b36eab82e6ab07d487c68f9d28.zip |
SHA and AES (and sadly MD5) can't be considered optional. ok beck miod
Diffstat (limited to 'lib/libssl/t1_lib.c')
-rw-r--r-- | lib/libssl/t1_lib.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libssl/t1_lib.c b/lib/libssl/t1_lib.c index b88b3561e05..304140d7f6d 100644 --- a/lib/libssl/t1_lib.c +++ b/lib/libssl/t1_lib.c @@ -338,9 +338,7 @@ static unsigned char tls12_sigalgs[] = { tlsext_sigalg(TLSEXT_hash_sha384) tlsext_sigalg(TLSEXT_hash_sha256) tlsext_sigalg(TLSEXT_hash_sha224) -#ifndef OPENSSL_NO_SHA tlsext_sigalg(TLSEXT_hash_sha1) -#endif }; int @@ -2195,12 +2193,8 @@ typedef struct { } tls12_lookup; static tls12_lookup tls12_md[] = { -#ifndef OPENSSL_NO_MD5 {NID_md5, TLSEXT_hash_md5}, -#endif -#ifndef OPENSSL_NO_SHA {NID_sha1, TLSEXT_hash_sha1}, -#endif {NID_sha224, TLSEXT_hash_sha224}, {NID_sha256, TLSEXT_hash_sha256}, {NID_sha384, TLSEXT_hash_sha384}, @@ -2271,10 +2265,8 @@ const EVP_MD *tls12_get_hash(unsigned char hash_alg) { switch (hash_alg) { -#ifndef OPENSSL_NO_SHA case TLSEXT_hash_sha1: return EVP_sha1(); -#endif case TLSEXT_hash_sha224: return EVP_sha224(); |