diff options
-rw-r--r-- | lib/x509/x509.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/x509/x509.c b/lib/x509/x509.c index c42a948887..07e8be08c7 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -3593,6 +3593,7 @@ gnutls_x509_crt_list_import(gnutls_x509_crt_t * certs, gnutls_x509_crt_import(certs[count], &tmp, GNUTLS_X509_FMT_PEM); if (ret < 0) { + count++; gnutls_assert(); goto error; } |