diff options
author | Tim Kosse <tim.kosse@filezilla-project.org> | 2016-07-09 12:24:33 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-07-28 13:55:49 +0200 |
commit | 74a7e86660740ca5ee7af77c37697190a8821855 (patch) | |
tree | a3e7698deda7693f6dcad2c9989184618ec9b6dd /lib | |
parent | a285f2a2bfade7466e462d6d583d60d737f00d75 (diff) | |
download | gnutls-74a7e86660740ca5ee7af77c37697190a8821855.tar.gz |
gnutls_x509_crl_list_import2 was ignoring the passed flags if all CTLs in the list fit within the initially allocated memory.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/x509/crl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/crl.c b/lib/x509/crl.c index d658e966e7..568b2feddd 100644 --- a/lib/x509/crl.c +++ b/lib/x509/crl.c @@ -1221,7 +1221,7 @@ gnutls_x509_crl_list_import2(gnutls_x509_crl_t ** crls, ret = gnutls_x509_crl_list_import(*crls, &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) { *crls = gnutls_realloc_fast(*crls, |