Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
Eclipse Foundation
paho.mqtt.python
提交
0a8cccc2
P
paho.mqtt.python
项目概览
镜像
/
Eclipse Foundation
/
paho.mqtt.python
11 个月 前同步成功
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
paho.mqtt.python
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
0a8cccc2
编写于
9月 29, 2016
作者:
J
James Myatt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove support for SSL without SSLContext (Fixes #115)
Signed-off-by:
N
James Myatt
<
james@jamesmyatt.co.uk
>
上级
37cf9537
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
105 addition
and
167 deletion
+105
-167
src/paho/mqtt/client.py
src/paho/mqtt/client.py
+99
-161
test/lib/context.py
test/lib/context.py
+2
-2
test/lib/python/08-ssl-bad-cacert.test
test/lib/python/08-ssl-bad-cacert.test
+1
-1
test/lib/python/08-ssl-connect-cert-auth.test
test/lib/python/08-ssl-connect-cert-auth.test
+1
-1
test/lib/python/08-ssl-connect-no-auth.test
test/lib/python/08-ssl-connect-no-auth.test
+1
-1
test/lib/python/08-ssl-fake-cacert.test
test/lib/python/08-ssl-fake-cacert.test
+1
-1
未找到文件。
src/paho/mqtt/client.py
浏览文件 @
0a8cccc2
此差异已折叠。
点击以展开。
test/lib/context.py
浏览文件 @
0a8cccc2
...
...
@@ -52,6 +52,6 @@ def check_ssl():
print
(
"WARNING: SSL not available in current environment"
)
exit
(
0
)
if
sys
.
version
<
'2.7'
:
print
(
"WARNING: SSL
not supported on Python 2.6
"
)
if
not
hasattr
(
ssl
,
'SSLContext'
)
:
print
(
"WARNING: SSL
without SSLContext is not supported
"
)
exit
(
0
)
test/lib/python/08-ssl-bad-cacert.test
浏览文件 @
0a8cccc2
...
...
@@ -9,7 +9,7 @@ from struct import *
import
paho
.
mqtt
.
client
as
mqtt
if
sys
.
version
<
'2.7'
:
if
sys
.
version
_info
<
(
2
,
7
,
9
)
:
print
(
"WARNING: SSL/TLS not supported on Python 2.6"
)
exit
(
0
)
...
...
test/lib/python/08-ssl-connect-cert-auth.test
浏览文件 @
0a8cccc2
...
...
@@ -9,7 +9,7 @@ from struct import *
import
paho
.
mqtt
.
client
as
mqtt
if
sys
.
version_info
<
(
2
,
7
)
:
if
sys
.
version_info
<
(
2
,
7
,
9
)
:
print
(
"WARNING: SSL/TLS not supported on Python 2.6"
)
exit
(
0
)
...
...
test/lib/python/08-ssl-connect-no-auth.test
浏览文件 @
0a8cccc2
...
...
@@ -9,7 +9,7 @@ from struct import *
import
paho
.
mqtt
.
client
as
mqtt
if
sys
.
version_info
<
(
2
,
7
)
:
if
sys
.
version_info
<
(
2
,
7
,
9
)
:
print
(
"WARNING: SSL/TLS not supported on Python 2.6"
)
exit
(
0
)
...
...
test/lib/python/08-ssl-fake-cacert.test
浏览文件 @
0a8cccc2
...
...
@@ -10,7 +10,7 @@ import ssl
import
paho
.
mqtt
.
client
as
mqtt
if
sys
.
version_info
<
(
2
,
7
)
:
if
sys
.
version_info
<
(
2
,
7
,
9
)
:
print
(
"WARNING: SSL/TLS not supported on Python 2.6"
)
exit
(
0
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录