mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-04 06:16:35 +02:00
Import SSL in Windows (get.exe)
Closes: https://github.com/espressif/arduino-esp32/pull/820
This commit is contained in:
BIN
tools/get.exe
BIN
tools/get.exe
Binary file not shown.
1
tools/get.py
Executable file → Normal file
1
tools/get.py
Executable file → Normal file
@ -80,6 +80,7 @@ def get_tool(tool):
|
|||||||
print('Downloading ' + archive_name);
|
print('Downloading ' + archive_name);
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
if 'CYGWIN_NT' in sys_name:
|
if 'CYGWIN_NT' in sys_name:
|
||||||
|
import ssl
|
||||||
ctx = ssl.create_default_context()
|
ctx = ssl.create_default_context()
|
||||||
ctx.check_hostname = False
|
ctx.check_hostname = False
|
||||||
ctx.verify_mode = ssl.CERT_NONE
|
ctx.verify_mode = ssl.CERT_NONE
|
||||||
|
Reference in New Issue
Block a user