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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Nov 27 14:08:14 CET 2018


Nikos Mavrogiannopoulos started a new discussion on lib/auth/cert.c:

> +	// Check whether the PK algo is compatible with the negotiated KX
> +	ret = check_pk_compat(session, peer_certificate->pubkey);
> +	if (ret < 0) {
> +		gnutls_assert();
> +		goto cleanup;
> +	}
> +
> +	// Prepare our authentication info structures
> +	ret = _gnutls_auth_info_init(session, GNUTLS_CRD_CERTIFICATE,
> +															sizeof(cert_auth_info_st), 1);
> +	if (ret < 0) {
> +		gnutls_assert();
> +		goto cleanup;
> +	}
> +
> +	// Retrieve the structure that holds the peer's authentication data

unnecessary comment

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


More information about the Gnutls-devel mailing list