[gnutls-devel] GnuTLS | Fix optional arguments handling in gnutls_privkey_import_rsa_raw() (!1318)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Sep 3 18:26:46 CEST 2020




Daiki Ueno commented on a discussion on tests/key-import-export.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1318#note_406928513

>  	if (ret < 0)
>  		fail("error\n");
>  
> +	/* Optional arguments */
> +	ret = gnutls_privkey_import_rsa_raw(key, &_rsa_m, &_rsa_e, &_rsa_d, &_rsa_p, &_rsa_q, NULL, NULL, NULL);

Yes, that's exactly what I was thinking.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1318#note_406928513
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/20200903/bb15ec95/attachment.html>


More information about the Gnutls-devel mailing list