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

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


Nikos Mavrogiannopoulos started a new 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;

The error code is not in the set that this function is expected to return

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


More information about the Gnutls-devel mailing list