[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:22 CET 2018


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

> +		goto cleanup;
> +	}
> +
> +	// Retrieve the structure that holds the peer's authentication data
> +	info = _gnutls_get_auth_info(session, GNUTLS_CRD_CERTIFICATE);
> +
> +	/* Copy our imported certificate into the auth info structure
> +	 * and free our temporary cert storage peer_certificate.
> +	 */
> +	ret = _gnutls_pcert_to_auth_info(info, peer_certificate, 1);
> +	if (ret < 0) {
> +		gnutls_assert();
> +		goto cleanup;
> +	}
> +
> +	// Everything is okay

unnecessary comment

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


More information about the Gnutls-devel mailing list