From: Nikos Mavrogiannopoulos Date: Sat, 5 Apr 2014 00:01:05 +0000 (+0200) Subject: set the same flags in the second search X-Git-Tag: gnutls_3_3_0~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd5a6936fbefd222f63d7442f1e6809403eebe75;p=thirdparty%2Fgnutls.git set the same flags in the second search --- diff --git a/lib/pkcs11.c b/lib/pkcs11.c index 0e11562b72..d7d3ba2e67 100644 --- a/lib/pkcs11.c +++ b/lib/pkcs11.c @@ -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;