[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:06:04 CEST 2021
Daiki Ueno commented on a discussion on tests/tls13/key_share.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1457#note_641962221
> + 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);
Isn't it affected by system wide settings?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1457#note_641962221
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/4c4dd780/attachment.html>
More information about the Gnutls-devel
mailing list