[gnutls-devel] GnuTLS | Added support for Ed25519 keys under PKCS#11 (!812)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Nov 19 16:53:06 CET 2018


Nikos Mavrogiannopoulos commented on a discussion on tests/pkcs11/pkcs11-eddsa-privkey-test.c:

> +	gnutls_x509_crt_t crt;
> +	gnutls_x509_privkey_t key;
> +	gnutls_datum_t tmp, sig;
> +	gnutls_privkey_t pkey;
> +	gnutls_pubkey_t pubkey;
> +	gnutls_pubkey_t pubkey2;
> +	unsigned i, sigalgo;
> +
> +	bin = softhsm_bin();
> +
> +	lib = softhsm_lib();
> +
> +	ret = global_init();
> +	if (ret != 0) {
> +		fail("%d: %s\n", ret, gnutls_strerror(ret));
> +		exit(1);

Thanks, nice catch. There were few fprintfs as well; replaced them with fail().

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/812#note_118330623
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/20181119/e41acc5b/attachment.html>


More information about the Gnutls-devel mailing list