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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Nov 20 13:52:39 CET 2018


Nikos Mavrogiannopoulos started a new 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

That looks like an item to discuss. It shouldn't be in the code if that's a final version.

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


More information about the Gnutls-devel mailing list