提交 62fa954f 编写于 作者: M me-no-dev

Import SSL in Windows (get.exe)

Closes: https://github.com/espressif/arduino-esp32/pull/820
上级 1fae11a7
无法预览此类型文件
......@@ -80,6 +80,7 @@ def get_tool(tool):
print('Downloading ' + archive_name);
sys.stdout.flush()
if 'CYGWIN_NT' in sys_name:
import ssl
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册