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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Nov 26 16:57:24 CET 2018


Tom commented on a discussion on lib/gnutls_int.h:

> +		case GNUTLS_CTYPE_OURS:
> +			if (IS_SERVER(session)) {
> +				return session->security_parameters.server_ctype;
> +			} else {
> +				return session->security_parameters.client_ctype;
> +			}
> +			break;
> +		case GNUTLS_CTYPE_PEERS:
> +			if (IS_SERVER(session)) {
> +				return session->security_parameters.client_ctype;
> +			} else {
> +				return session->security_parameters.server_ctype;
> +			}
> +			break;
> +		default:		// Illegal parameter passed
> +			return GNUTLS_E_INVALID_REQUEST;

Good catch. Will fix.

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


More information about the Gnutls-devel mailing list