Skip to content

Commit

Permalink
Merge pull request #499 from VisionSystemsInc/update_tls_protocol
Browse files Browse the repository at this point in the history
wget tool: TLS v1 -> v1.2
  • Loading branch information
drewgilliam authored Feb 1, 2024
2 parents 193a796 + 63ca871 commit 40e7de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/vsi/tools/network/wget.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def download(url, filename=None, chunk_size=2**20, cookie={}, disable_ssl_verify
context=None
if disable_ssl_verify and url.startswith('https://'):
import ssl
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) #disable cert checking
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) #disable cert checking

try:
response = urllib2.urlopen(request, context=context)
Expand Down

0 comments on commit 40e7de8

Please sign in to comment.