[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
Wed Sep 2 19:48:24 CEST 2020




Nikolay Sivov commented on a discussion on lib/nettle/pk.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1318#note_406223240

>  			       TOMPZ(params->params[RSA_PRIME1])) == 0)
>  			return gnutls_assert_val(GNUTLS_E_PK_INVALID_PRIVKEY);
>  
> +		/* marks RSA_COEF as present */
> +		params->params_nr = RSA_PRIVATE_PARAMS - 2;

Will do.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1318#note_406223240
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/20200902/3b769cc6/attachment-0001.html>


More information about the Gnutls-devel mailing list