Fix for previous change: explicitly named ciphersuites are OK to add

This commit is contained in:
Bodo Möller 2006-06-22 13:07:45 +00:00
parent aa17ab7e57
commit e6e3f38bfa

View File

@ -643,7 +643,7 @@ static void ssl_cipher_apply_rule(unsigned long cipher_id,
* *explicitly* requested, but not implicitly (such as * *explicitly* requested, but not implicitly (such as
* as part of the "AES" alias). */ * as part of the "AES" alias). */
add_this_cipher = (mask & (SSL_kECDHE|SSL_kECDH|SSL_aECDSA)) != 0; add_this_cipher = (mask & (SSL_kECDHE|SSL_kECDH|SSL_aECDSA)) != 0 || cipher_id != 0;
} }
if (add_this_cipher) if (add_this_cipher)