Skip to content

Commit 4e4a25a

Browse files
committed
pythonbuild: fix OpenSSL version check
1 parent 29e3b59 commit 4e4a25a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pythonbuild/verify_distribution.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ def verify_ssl():
103103
assert ssl.HAS_TLSv1_2
104104
assert ssl.HAS_TLSv1_3
105105

106-
assert ssl.OPENSSL_VERSION_INFO == (1, 1, 1, 3, 15)
106+
assert ssl.OPENSSL_VERSION_INFO == (1, 1, 1, 11, 15), "got %r" % (
107+
ssl.OPENSSL_VERSION_INFO,
108+
)
107109

108110
context = ssl.create_default_context()
109111

0 commit comments

Comments
 (0)