diff options
author | Sergey Markelov <sergey@solidstatenetworks.com> | 2021-05-21 16:44:15 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-05-23 00:11:30 +0200 |
commit | 96adbf5cdb6f36665af2583083454e4ae38292f0 (patch) | |
tree | f436268a56d7c77f30c208dca72351c74e6260ff /lib/vtls/nss.c | |
parent | e61d8e36d261b2caa915543d0593faa576164cb1 (diff) | |
download | curl-96adbf5cdb6f36665af2583083454e4ae38292f0.tar.gz |
NSS: make colons, commas and spaces valid separators in cipher list
Fixes #7110
Closes #7115
Diffstat (limited to 'lib/vtls/nss.c')
-rw-r--r-- | lib/vtls/nss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c index 63f51fd79..2aa4bdaa1 100644 --- a/lib/vtls/nss.c +++ b/lib/vtls/nss.c @@ -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'; } |