NSS: make colons, commas and spaces valid separators in cipher list

Fixes #7110
Closes #7115
This commit is contained in:
Sergey Markelov 2021-05-21 16:44:15 -07:00 committed by Daniel Stenberg
parent e61d8e36d2
commit 96adbf5cdb
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -337,7 +337,7 @@ static SECStatus set_ciphers(struct Curl_easy *data, PRFileDesc * model,
while((*cipher) && (ISSPACE(*cipher)))
++cipher;
cipher_list = strchr(cipher, ',');
cipher_list = strpbrk(cipher, ":, ");
if(cipher_list) {
*cipher_list++ = '\0';
}