[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 28 09:36:12 CEST 2022
Daiki Ueno commented on a discussion on lib/pkcs11.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1560#note_890920868
> }
>
> if (current > list->key_ids_size)
> break;
Sorry for being pedantic, but if we keep the `if ... break`, I think we should at least change the condition `current > list->key_ids_size` to `current >= list->key_ids_size` to match your change.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1560#note_890920868
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/20220328/838f57bc/attachment.html>
More information about the Gnutls-devel
mailing list