[gnutls-devel] GnuTLS | RFC7250 Raw public keys (!650)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Wed Nov 28 23:02:42 CET 2018
Tom commented on a discussion on lib/session.c:
> - gnutls_certificate_type_get_name(ctype_client));
> - } else {
> - // print proto version, client cert type, server cert type
> - snprintf(proto_name, sizeof(proto_name), "%s-%s-%s",
> - gnutls_protocol_get_name(get_num_version(session)),
> - gnutls_certificate_type_get_name(ctype_client),
> - gnutls_certificate_type_get_name(ctype_server));
> - }
> - } else { // Assumed default certificate type (X.509)
> - snprintf(proto_name, sizeof(proto_name), "%s",
> - gnutls_protocol_get_name(get_num_version
> - (session)));
> + // Get certificate types
> + ctype_client = _gnutls_certificate_type_get2(session, GNUTLS_CTYPE_CLIENT);
> + ctype_server = _gnutls_certificate_type_get2(session, GNUTLS_CTYPE_SERVER);
> +
I did that on purpose to always show the cert type. But I'll change it back.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_120900758
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/20181128/20edc604/attachment.html>
More information about the Gnutls-devel
mailing list