[gnutls-devel] GnuTLS | Fix matching of last key of a pkcs#11 token (!1560)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Mar 21 11:18:42 CET 2022




Benjamin Herrenschmidt commented on a discussion on lib/pkcs11.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1560#note_881785889

>  		}
>  
>  		if (current > list->key_ids_size)
>  			break;

Not entirely sure, we explicitely test that we only get 1 per C_FindObject, so I don't see the error you mention. That said, we could merge the exit condition yes, I was going for easiest to review/backport patch :-)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1560#note_881785889
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/20220321/3563455b/attachment-0001.html>


More information about the Gnutls-devel mailing list