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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Nov 20 13:52:42 CET 2018


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

> + * Currently it only makes sense to associate one raw pubkey per session.
> + * Associating more raw pubkeys with a session has no use because we
> + * don't know how to select the correct one.
> + */
> +static int
> +find_rawpk_cert(gnutls_session_t session,
> +			const gnutls_certificate_credentials_t cred,
> +			const gnutls_pk_algorithm_t* pk_algos,
> +			int pk_algos_length, int* indx)
> +{
> +	unsigned i;
> +	gnutls_pk_algorithm_t pk;
> +
> +	*indx = -1;
> +
> +	// Traverse all certificate credentials

nit: Given the for loop on the next line this comment seems unnecessary.

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


More information about the Gnutls-devel mailing list