diff options
Diffstat (limited to 'lib/vtls')
-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'; } |