[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 15:42:47 CET 2018


Daiki Ueno started a new 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);

nit: I would expect `fail()` calls exit by itself

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


More information about the Gnutls-devel mailing list