summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-05-01 17:36:16 +0200
committerDr. Stephen Henson <steve@openssl.org>2011-05-01 17:36:16 +0200
commit823df31be7e5b1a72a5f58d4f1106168e8afbae0 (patch)
tree9e2923c939c9b20a7abde0ec0a5e757014929753 /ssl
parentUpdate symbol translation table. (diff)
downloadopenssl-823df31be7e5b1a72a5f58d4f1106168e8afbae0.tar.xz
openssl-823df31be7e5b1a72a5f58d4f1106168e8afbae0.zip
Disable SHA256 if not supported.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl_ciph.c1
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;