summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_x509.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index 3ecd66620b..1f241d2836 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -797,6 +797,8 @@ read_cert_url(gnutls_certificate_credentials_t res, const char *_url)
}
gnutls_free(t.data);
t.data = NULL;
+ } else {
+ break;
}
#else
break;