mirror of
https://gitlab.com/gnuwget/wget.git
synced 2026-01-31 08:37:20 +00:00
* doc/wget.texi: Add "TLSv1_3" to --secure-protocol * src/gnutls.c (set_prio_default): Use GNUTLS_TLS1_3 where needed Wget currently allows specifying "TLSv1_3" as the parameter for --secure-protocol option. However it is only implemented for OpenSSL and in case wget is compiled with GnuTLS, it causes wget to abort with: GnuTLS: unimplemented 'secure-protocol' option value 6 GnuTLS contains TLS 1.3 implementation since version 3.6.3 [1]. However currently it must be enabled explicitly in the application of it to be used. This will change after the draft is finalized. [2] However for the time being, I enabled it explicitly in case "TLSv1_3" is used with --secure-protocol. I also fixed man page to contain "TLSv1_3" in all listings of available parameters for --secure-protocol [1] https://lists.gnupg.org/pipermail/gnutls-devel/2018-July/008584.html [2] https://nikmav.blogspot.com/2018/05/gnutls-and-tls-13.html Signed-off-by: Tomas Hozza <thozza@redhat.com>