From: Daniel Stenberg Date: Tue, 14 Apr 2009 09:40:53 +0000 (+0000) Subject: Kamil Dudka's follow-up fix X-Git-Tag: curl-7_19_5~215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97f27ea585c3e7e5b18a14581580b8bac52a0d2b;p=curl Kamil Dudka's follow-up fix --- diff --git a/lib/nss.c b/lib/nss.c index 6e0a91bfd..40e6a1945 100644 --- a/lib/nss.c +++ b/lib/nss.c @@ -367,7 +367,7 @@ static int nss_load_cert(struct ssl_connect_data *ssl, PK11_FreeSlot(slot); - if(ssl->cacert == NULL) { + if(ssl->cacert[slotID] == NULL) { free(nickname); return 0; }