From: Kamil Dudka Date: Wed, 29 Jan 2014 11:55:36 +0000 (+0100) Subject: nss: do not fail if NSS does not implement a cipher X-Git-Tag: curl-7_36_0~289 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e15e73b741a2ddc88d166d2cec86d2bebb5d349e;p=curl nss: do not fail if NSS does not implement a cipher ... that the user does not ask for --- diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c index cd4bf1b82..8e6627b31 100644 --- a/lib/vtls/nss.c +++ b/lib/vtls/nss.c @@ -191,14 +191,13 @@ static SECStatus set_ciphers(struct SessionHandle *data, PRFileDesc * model, PRBool cipher_state[NUM_OF_CIPHERS]; PRBool found; char *cipher; - SECStatus rv; /* First disable all ciphers. This uses a different max value in case * NSS adds more ciphers later we don't want them available by * accident */ for(i=0; i