diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-11-23 10:48:56 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-11-23 10:48:56 +0100 |
commit | e03900889de3ecc5ac63b69289c997fcaa692d92 (patch) | |
tree | 254a844cdf0283ef4c5b1e20b9e029b68d5f76eb /lib | |
parent | 938497f3ccb6e492839a9642ab5d902ee91e6f49 (diff) | |
download | gnutls-e03900889de3ecc5ac63b69289c997fcaa692d92.tar.gz |
correctly handle non-pkcs11 URLs in read_cert_url
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gnutls_x509.c | 2 |
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; |