ITS#7289 MozNSS: cipher suite selection by name may be ignored

This commit is contained in:
Tim Strobell (Contractor) 2012-06-04 18:40:28 -04:00 committed by Howard Chu
parent dc3842fca3
commit 4b6bd2c600

View file

@ -624,7 +624,7 @@ nss_parse_ciphers(const char *cipherstr, int cipher_list[ciphernum])
} else {
for (i=0; i<ciphernum; i++) {
if (!strcmp(ciphers_def[i].ossl_name, cipher) &&
cipher_list[1] != -1)
cipher_list[i] != -1)
cipher_list[i] = action;
}
}