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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Jun 21 06:41:43 CEST 2019




Nikos Mavrogiannopoulos started a new discussion on lib/pkcs11.c: https://gitlab.com/gnutls/gnutls/merge_requests/1031#note_183771589

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

I am thinking that while this works when no identifier for a token was specified, doing this unconditionally can be tricky when a token was specified and the pin was wrong. The wrong error will be received by the application in that case.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1031#note_183771589
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/20190621/9eab1184/attachment.html>


More information about the Gnutls-devel mailing list