[gnutls-devel] GnuTLS | pkcs11: ignore login error when traversing tokens (!1031)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Jun 25 19:17:46 CEST 2019

Daiki Ueno commented on a discussion on lib/pkcs11.c: https://gitlab.com/gnutls/gnutls/merge_requests/1031#note_185275297

>  					 info, flags);
>  			if (ret < 0) {
>  				gnutls_assert();
> -				return ret;
> +				continue;

Indeed that is a good point. Maybe, we could error out if CKF_LOGIN_REQUIRED is set and the pkcs11_login failed. I have updated that part along these lines.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1031#note_185275297
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190625/f03fc870/attachment.html>

More information about the Gnutls-devel mailing list