From: Dr. Stephen Henson Date: Mon, 10 Oct 2011 12:40:13 +0000 (+0000) Subject: disable GCM if not available X-Git-Tag: OpenSSL_1_0_1-beta1~129 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=58e4205d6cb10a1c545e3e408593c0f7d076dfe0;p=oweals%2Fopenssl.git disable GCM if not available --- diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 29d8f2849d..c03f029748 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -749,6 +749,8 @@ static void ssl_cipher_get_disabled(unsigned long *mkey, unsigned long *auth, un *enc |= (ssl_cipher_methods[SSL_ENC_IDEA_IDX] == NULL) ? SSL_IDEA:0; *enc |= (ssl_cipher_methods[SSL_ENC_AES128_IDX] == NULL) ? SSL_AES128:0; *enc |= (ssl_cipher_methods[SSL_ENC_AES256_IDX] == NULL) ? SSL_AES256:0; + *enc |= (ssl_cipher_methods[SSL_ENC_AES128GCM_IDX] == NULL) ? SSL_AES128GCM:0; + *enc |= (ssl_cipher_methods[SSL_ENC_AES256GCM_IDX] == NULL) ? SSL_AES256GCM:0; *enc |= (ssl_cipher_methods[SSL_ENC_CAMELLIA128_IDX] == NULL) ? SSL_CAMELLIA128:0; *enc |= (ssl_cipher_methods[SSL_ENC_CAMELLIA256_IDX] == NULL) ? SSL_CAMELLIA256:0; *enc |= (ssl_cipher_methods[SSL_ENC_GOST89_IDX] == NULL) ? SSL_eGOST2814789CNT:0;