]> granicus.if.org Git - curl/commit
nss: only cache valid CRL entries
authorDaniel Gustafsson <daniel@yesql.se>
Thu, 20 Jun 2019 10:11:59 +0000 (12:11 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 7 Jul 2019 03:32:39 +0000 (23:32 -0400)
commit2028a1a977e91e5eae4852a778ab67bda3d3b9ad
tree26be812203a81c54984a52299b052d7f7667532b
parentcf4255c8476ba919456a69099d02245419ff6ac3
nss: only cache valid CRL entries

Change the logic around such that we only keep CRLs that NSS actually
ended up caching around for later deletion.  If CERT_CacheCRL() fails
then there is little point in delaying the freeing of the CRL as it
is not used.

Closes https://github.com/curl/curl/pull/4053
lib/vtls/nss.c