diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-05-01 17:36:16 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-05-01 17:36:16 +0200 |
commit | 823df31be7e5b1a72a5f58d4f1106168e8afbae0 (patch) | |
tree | 9e2923c939c9b20a7abde0ec0a5e757014929753 /ssl | |
parent | Update symbol translation table. (diff) | |
download | openssl-823df31be7e5b1a72a5f58d4f1106168e8afbae0.tar.xz openssl-823df31be7e5b1a72a5f58d4f1106168e8afbae0.zip |
Disable SHA256 if not supported.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_ciph.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 132b848e4a..38d59774ef 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -709,6 +709,7 @@ static void ssl_cipher_get_disabled(unsigned long *mkey, unsigned long *auth, un *mac |= (ssl_digest_methods[SSL_MD_MD5_IDX ] == NULL) ? SSL_MD5 :0; *mac |= (ssl_digest_methods[SSL_MD_SHA1_IDX] == NULL) ? SSL_SHA1:0; + *mac |= (ssl_digest_methods[SSL_MD_SHA256_IDX] == NULL) ? SSL_SHA256:0; *mac |= (ssl_digest_methods[SSL_MD_GOST94_IDX] == NULL) ? SSL_GOST94:0; *mac |= (ssl_digest_methods[SSL_MD_GOST89MAC_IDX] == NULL || ssl_mac_pkey_id[SSL_MD_GOST89MAC_IDX]==NID_undef)? SSL_GOST89MAC:0; |