Skip to content

Commit

Permalink
- No longer use a specific version of TLS.
Browse files Browse the repository at this point in the history
Defaults to TLS v1.3 if available.
  • Loading branch information
trizen committed Aug 26, 2020
1 parent ad0d2a2 commit aa6665a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trizen
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Created: 07 July 2010
# First rewrite: 16 February 2011
# Second rewrite: 24 March 2012
# Latest edit: 11 June 2020
# Latest edit: 26 August 2020
# https://github.com/trizen/trizen

# Contributors:
Expand Down Expand Up @@ -690,7 +690,7 @@ sub new_lwp_object (%opt) {
env_proxy => $lconfig{lwp_env_proxy},
show_progress => $lconfig{lwp_show_progress},
agent => "Mozilla/5.0 (CLI; U; gzip; en-US) $execname/$version",
ssl_opts => {verify_hostname => $lconfig{ssl_verify_hostname}, SSL_version => 'TLSv1_2'},
ssl_opts => {verify_hostname => $lconfig{ssl_verify_hostname}},
%opt,
);
#>>>
Expand Down

0 comments on commit aa6665a

Please sign in to comment.