[gnutls-devel] GnuTLS | RFC7250 Raw public keys (!650)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Nov 21 20:40:57 CET 2018


Nikos Mavrogiannopoulos commented on a discussion on lib/auth/cert.c:

>  typedef enum CertificateSigType { RSA_SIGN = 1, DSA_SIGN = 2, ECDSA_SIGN = 64
>  } CertificateSigType;
>  
> -/* Moves data from a internal certificate struct (gnutls_pcert_st) to
> +/* Moves data from an internal certificate struct (gnutls_pcert_st) to
>   * another internal certificate struct (cert_auth_info_t), and deinitializes
>   * the former.
>   */
>  int _gnutls_pcert_to_auth_info(cert_auth_info_t info, gnutls_pcert_st * certs, size_t ncerts)
>  {
> +	/* REMARK: why do we free certs here? It is unexpected behavior and might be undesireable

Makes sense to me

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_119176771
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/20181121/04dda43c/attachment.html>


More information about the Gnutls-devel mailing list