[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
Sun Nov 18 21:25:39 CET 2018


Tom started a new 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.

Fine grained is officially spelled with a hyphen: fine-grained.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/806#note_118100799
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/20181118/eff94999/attachment.html>


More information about the Gnutls-devel mailing list