mirror of
https://github.com/curl/curl.git
synced 2026-07-24 14:57:17 +03:00
NSS: make colons, commas and spaces valid separators in cipher list
Fixes #7110 Closes #7115
This commit is contained in:
parent
e61d8e36d2
commit
96adbf5cdb
1 changed files with 1 additions and 1 deletions
|
|
@ -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';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue