[gnutls-devel] GnuTLS | p11tool fails to find certs with AWS KMS token (#1340)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Fri Mar 18 03:17:43 CET 2022
Benjamin Herrenschmidt commented:
Note: subsequent use of plist.key_ids_size seems to indicates it really should be one, so this should be the fix:
```
--- a/lib/pkcs11.c
+++ b/lib/pkcs11.c
@@ -2632,7 +2632,7 @@ find_privkeys(struct pkcs11_session_info *sinfo,
pkcs11_find_objects_final(sinfo);
- list->key_ids_size = current - 1;
+ list->key_ids_size = current;
return 0;
}
```
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1340#note_879283098
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/20220318/596163ce/attachment.html>
More information about the Gnutls-devel
mailing list