summaryrefslogtreecommitdiff
path: root/content/fetchers
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetchers')
-rw-r--r--content/fetchers/curl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c
index bd8c4333c..525c15885 100644
--- a/content/fetchers/curl.c
+++ b/content/fetchers/curl.c
@@ -676,6 +676,9 @@ fetch_curl_store_certs_in_cache(struct curl_fetch_info *f)
/* release the openssl memory buffer */
for (depth = 0; depth < chain.depth; depth++) {
+ if (chain.certs[depth].err == SSL_CERT_ERR_CERT_MISSING) {
+ continue;
+ }
if (buf[depth] != NULL) {
BUF_MEM_free(buf[depth]);
}