[gnutls-devel] GnuTLS | WIP: RFC7250 certificate type negotiation (!498)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Aug 17 14:35:16 CEST 2018


Nikos Mavrogiannopoulos commented on a discussion on lib/ext/server_cert_type.c:

> +			_gnutls_session_server_cert_type_set(session, cert_type);
> +			ret = GNUTLS_E_SUCCESS;
> +		} else {
> +			// No valid cert type found
> +			ret = GNUTLS_E_UNSUPPORTED_CERTIFICATE_TYPE;
> +		}
> +
> +		// Clean-up
> +		_gnutls_free_datum(&cert_types);
> +
> +		return ret;
> +
> +	} else		// server mode
> +	{
> +		// Compare packet length with expected packet length.
> +		DECR_LEN(len, 1);

Ok, makes sense.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/498#note_95129112
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/20180817/9b7b0af4/attachment-0001.html>


More information about the Gnutls-devel mailing list