[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418)
From: |
Tim Rühsen |
Subject: |
Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418) |
Date: |
Mon, 22 Apr 2019 19:08:27 +0000 |
Tim Rühsen started a new discussion on tests/libtest.c:
https://gitlab.com/gnuwget/wget2/merge_requests/418#note_163000180
> size_t *upload_data_size G_GNUC_WGET_UNUSED,
> void **con_cls G_GNUC_WGET_UNUSED)
> {
> +#if MHD_VERSION >= 0x00096302 && GNUTLS_VERSION_NUMBER >= 0x030603
> + if (post_handshake_auth != NULL) {
> + gnutls_session_t tls_sess;
> + union MHD_ConnectionInfo *conn_info = MHD_get_connection_info
> (connection, MHD_CONNECTION_INFO_GNUTLS_SESSION);
> +
> + if (conn_info) {
> + int check_auth = GNUTLS_E_AGAIN;
> + tls_sess = conn_info->tls_session;
> + gnutls_certificate_server_set_request(tls_sess,
> GNUTLS_CERT_REQUEST);
> + while (check_auth == GNUTLS_E_AGAIN)
`int check_auth; ... do check_auth = ... while (check_auth == GNUTLS_E_AGAIN)`
means one less comparison.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/merge_requests/418#note_163000180
You're receiving this email because of your account on gitlab.com.
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), (continued)
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Kumar Mallikarjuna, 2019/04/18
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/22
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/22
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/22
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/22
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/22
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418),
Tim Rühsen <=
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/22
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/22
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/23
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/24
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/24
- Re: [Wget-dev] wget2 | Add TLS 1.3 post-handshake authentication (!418), Tim Rühsen, 2019/04/25