[gnutls-devel] GnuTLS | Improve support of GOST private keys parsing (!802)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Nov 14 15:01:54 CET 2018


Dmitry Eremin-Solenikov commented on a discussion on lib/x509/privkey_pkcs8.c:

>  {
>  	int ret;
>  
> -	if (raw_key->data[0] == ASN1_TAG_INTEGER) {
> +	if (raw_key->size % 32 == 0) {

Ack. I will replace this with `gnutls_ecc_curve_get_size()` result.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/802#note_117228088
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/20181114/0c6f6a15/attachment.html>


More information about the Gnutls-devel mailing list