[gnutls-devel] GnuTLS | pkcs11: ignore login error when traversing tokens (!1031)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Wed Jul 10 16:20:48 CEST 2019
Daiki Ueno commented on a discussion on tests/pkcs11/list-objects.c: https://gitlab.com/gnutls/gnutls/merge_requests/1031#note_190396289
> + /* initialize auto - i.e., do module loading */
> + ret = gnutls_pkcs11_init(GNUTLS_PKCS11_FLAG_AUTO, NULL);
> + if (ret != 0) {
> + fprintf(stderr, "error at %d: %s\n", __LINE__, gnutls_strerror(ret));
> + exit(1);
> + }
> + break;
> + case 't':
> + /* do trusted module loading */
> + ret = gnutls_pkcs11_init(GNUTLS_PKCS11_FLAG_AUTO_TRUSTED, NULL);
> + if (ret != 0) {
> + fprintf(stderr, "error at %d: %s\n", __LINE__, gnutls_strerror(ret));
> + exit(1);
> + }
> + break;
> + case 'v':
No, removed unused options and add a test to exercise `-l all`.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1031#note_190396289
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/20190710/f2eeeb36/attachment-0001.html>
More information about the Gnutls-devel
mailing list