diff options
author | Daiki Ueno <dueno@redhat.com> | 2019-06-19 17:21:16 +0200 |
---|---|---|
committer | Daiki Ueno <dueno@redhat.com> | 2019-07-11 06:39:33 +0200 |
commit | fa5147c86941512921282b84819b896a0d4f29bb (patch) | |
tree | 5c3f22cd9b7483f27d5642fd1dde284d8a9ba5e1 /.gitignore | |
parent | d9984ccf8dde873f7b2632979989675eb900871a (diff) | |
download | gnutls-fa5147c86941512921282b84819b896a0d4f29bb.tar.gz |
pkcs11: ignore login error when traversing tokens
If a token is a general access device, it is expected that login
attempt to that token returns error:
https://github.com/p11-glue/p11-kit/blob/master/trust/module.c#L852
On the other hand, _pkcs11_traverse_tokens treats the error as fatal
and stops iteration. This behavior prevents object search without
token specifier if such tokens are registered in the system.
Reported by Stanislav Zidek in
https://bugzilla.redhat.com/show_bug.cgi?id=1705478
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 85ae942f12..37f34bdcea 100644 --- a/.gitignore +++ b/.gitignore @@ -562,6 +562,7 @@ tests/pkcs11-privkey-safenet-always-auth tests/pkcs11-token-raw tests/pkcs11/gnutls_pcert_list_import_x509_file tests/pkcs11/gnutls_x509_crt_list_import_url +tests/pkcs11/list-objects tests/pkcs11/pkcs11-chainverify tests/pkcs11/pkcs11-combo tests/pkcs11/pkcs11-ec-privkey-test |