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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Jul 1 14:07:14 CEST 2019




Nikos Mavrogiannopoulos started a new discussion on tests/pkcs11/list-objects.c: https://gitlab.com/gnutls/gnutls/merge_requests/1031#note_187047570

> +				/* 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':

Do we need to define these options that are not used by the test program that calls it?

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


More information about the Gnutls-devel mailing list