nss: do not fail if a CRL is already cached
This fixes a copy-paste mistake from commit 2968f957.
This commit is contained in:
parent
548811cb19
commit
9e37a7f9a5
@ -22,6 +22,7 @@ This release includes the following bugfixes:
|
|||||||
o configure: allow --with-ca-path with PolarSSL too
|
o configure: allow --with-ca-path with PolarSSL too
|
||||||
o HTTP/2: Fix busy loop when EOF is encountered
|
o HTTP/2: Fix busy loop when EOF is encountered
|
||||||
o CURLOPT_CAPATH: return failure if set without backend support
|
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:
|
This release includes the following known bugs:
|
||||||
|
|
||||||
|
@ -448,7 +448,7 @@ static CURLcode nss_cache_crl(SECItem *crl_der)
|
|||||||
/* CRL already cached */
|
/* CRL already cached */
|
||||||
SEC_DestroyCrl(crl);
|
SEC_DestroyCrl(crl);
|
||||||
SECITEM_FreeItem(crl_der, PR_TRUE);
|
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 */
|
/* acquire lock before call of CERT_CacheCRL() and accessing nss_crl_list */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user