summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/x509/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/x509.c b/lib/x509/x509.c
index fbfe852a7c..a781d2e098 100644
--- a/lib/x509/x509.c
+++ b/lib/x509/x509.c
@@ -3278,7 +3278,7 @@ gnutls_x509_crt_list_import2(gnutls_x509_crt_t ** certs,
ret =
gnutls_x509_crt_list_import(*certs, &init, data, format,
- GNUTLS_X509_CRT_LIST_IMPORT_FAIL_IF_EXCEED);
+ flags | GNUTLS_X509_CRT_LIST_IMPORT_FAIL_IF_EXCEED);
if (ret == GNUTLS_E_SHORT_MEMORY_BUFFER) {
*certs =
gnutls_realloc_fast(*certs,