[gnutls-devel] GnuTLS | gnutls_certificate_type_get*: ensure that the default type is returned (!806)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Mon Nov 19 06:54:46 CET 2018
Nikos Mavrogiannopoulos commented on a discussion on lib/state.c:
> * gnutls_certificate_type_get:
> * @session: is a #gnutls_session_t type.
> - * The certificate type is by default X.509, unless it is negotiated
> - * as a TLS extension.
> + * This function returns the type of the certificate that is negotiated
> + * for this side to sent to the peer. The certificate type is by default
> + * X.509, unless an alternative certificate type is enabled by
> + * gnutls_init() and negotiated in the session.
> + *
> + * Resumed sessions will return the certificate type that was negotiated
> + * and used in the original session.
> * As of version 3.6.4 it is recommended to use
> - * gnutls_certificate_type_get2().
> + * gnutls_certificate_type_get2() which is more fine grained.
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/806#note_118139824
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel