]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
set the same flags in the second search
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 5 Apr 2014 00:01:05 +0000 (02:01 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 5 Apr 2014 00:01:05 +0000 (02:01 +0200)
lib/pkcs11.c

index 0e11562b7209cff8fcfc00d76d1dcec006d6272d..d7d3ba2e674613cc708c4ac897eda74bfc154bea 100644 (file)
@@ -3392,6 +3392,7 @@ int gnutls_pkcs11_crt_is_known(const char *url, gnutls_x509_crt_t cert,
                /* attempt searching with the subject DN only */
                memset(&priv, 0, sizeof(priv));
                priv.crt = cert;
+               priv.flags = flags;
 
                priv.dn.data = cert->raw_dn.data;
                priv.dn.size = cert->raw_dn.size;