]> granicus.if.org Git - curl/commitdiff
nss: do not fail if a CRL is already cached
authorKamil Dudka <kdudka@redhat.com>
Wed, 8 Oct 2014 15:13:59 +0000 (17:13 +0200)
committerKamil Dudka <kdudka@redhat.com>
Wed, 8 Oct 2014 15:31:04 +0000 (17:31 +0200)
This fixes a copy-paste mistake from commit 2968f957.

RELEASE-NOTES
lib/vtls/nss.c

index 827876137467ff9f3940d91eaec822ae57a4317c..c62ecb662c6072f0dedd5b22d8e7bd07df25bb74 100644 (file)
@@ -22,6 +22,7 @@ This release includes the following bugfixes:
  o configure: allow --with-ca-path with PolarSSL too
  o HTTP/2: Fix busy loop when EOF is encountered
  o CURLOPT_CAPATH: return failure if set without backend support
+ o nss: do not fail if a CRL is already cached
 
 This release includes the following known bugs:
 
index 83b3e3237df70e5774eadc75c8f58384e93c2b3f..c84938fa4eb335ba0d049ee785af766d6ae3ea69 100644 (file)
@@ -448,7 +448,7 @@ static CURLcode nss_cache_crl(SECItem *crl_der)
     /* CRL already cached */
     SEC_DestroyCrl(crl);
     SECITEM_FreeItem(crl_der, PR_TRUE);
-    return CURLE_SSL_CRL_BADFILE;
+    return CURLE_OK;
   }
 
   /* acquire lock before call of CERT_CacheCRL() and accessing nss_crl_list */