[gnutls-devel] GnuTLS | tests: tls13/key_share: rewrite as single process (!1457)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Aug 3 15:56:03 CEST 2021




Alexander Sosedkin commented on a discussion on tests/tls13/key_share.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1457#note_642026227

> +	gnutls_handshake_set_hook_function(server, GNUTLS_HANDSHAKE_ANY,
>  					   GNUTLS_HOOK_BOTH,
>  					   client_hello_callback);
> -	ctx.group = exp_group;
> +	ctx.group = group;
>  	ctx.ngroups = ngroups;
> -	gnutls_session_set_ptr(session, &ctx);
> +	gnutls_session_set_ptr(server, &ctx);
>  
>  	/* avoid calling all the priority functions, since the defaults
>  	 * are adequate.
>  	 */
> -	gnutls_priority_set_direct(session, "NORMAL:+VERS-TLS1.3", NULL);
> -
> -	gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, x509_cred);
> +	gnutls_priority_set_direct(server, "NORMAL:+VERS-TLS1.3", NULL);

Hm. OK then!

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1457#note_642026227
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/20210803/e36e664e/attachment-0001.html>


More information about the Gnutls-devel mailing list