diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-06-22 15:50:51 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-06-22 16:40:21 +0200 |
commit | 98a72396ac032cc04dbc34b90b199b5dea4d5bcb (patch) | |
tree | e9b7e19f303370bc0d6ebc7f37d8a1ffcc79c8ba | |
parent | a892d9be40240beabf938e98bc6626a949584e13 (diff) | |
download | gnutls-98a72396ac032cc04dbc34b90b199b5dea4d5bcb.tar.gz |
pkcs11: correctly account check_found_cert()
-rw-r--r-- | lib/pkcs11.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pkcs11.c b/lib/pkcs11.c index 5623305ce6..edc23a1780 100644 --- a/lib/pkcs11.c +++ b/lib/pkcs11.c @@ -3610,6 +3610,7 @@ find_cert_cb(struct ck_function_list *module, struct pkcs11_session_info *sinfo, ret = check_found_cert(priv, &data, now); if (ret < 0) { _gnutls_free_datum(&data); + found = 0; continue; } |