https://github.com/python/cpython/commit/333c7dccd87c637d0b15cf81f9bbec28e39664fd
commit: 333c7dccd87c637d0b15cf81f9bbec28e39664fd
branch: 3.10
author: Dimitri John Ledkov <[email protected]>
committer: ambv <[email protected]>
date: 2024-05-07T12:00:40+02:00
summary:

[3.10] gh-100454: Fix running SSL tests with OpenSSL 3.1+ (GH-100456) 
(GH-118262)

This fixes Ubuntu pipeline with OpenSSL 3.1+

Co-authored-by: Illia Volochii <[email protected]>

files:
A Misc/NEWS.d/next/Tests/2022-12-23-13-29-55.gh-issue-100454.3no0cW.rst
M Tools/ssl/multissltests.py

diff --git 
a/Misc/NEWS.d/next/Tests/2022-12-23-13-29-55.gh-issue-100454.3no0cW.rst 
b/Misc/NEWS.d/next/Tests/2022-12-23-13-29-55.gh-issue-100454.3no0cW.rst
new file mode 100644
index 00000000000000..3d5fdc8aba323d
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2022-12-23-13-29-55.gh-issue-100454.3no0cW.rst
@@ -0,0 +1 @@
+Fix SSL tests CI for OpenSSL 3.1+
diff --git a/Tools/ssl/multissltests.py b/Tools/ssl/multissltests.py
index 61b87a2d22fd25..7b9983fe05206a 100755
--- a/Tools/ssl/multissltests.py
+++ b/Tools/ssl/multissltests.py
@@ -404,15 +404,15 @@ class BuildOpenSSL(AbstractBuilder):
     depend_target = 'depend'
 
     def _post_install(self):
-        if self.version.startswith("3.0"):
-            self._post_install_300()
+        if self.version.startswith("3."):
+            self._post_install_3xx()
 
     def _build_src(self, config_args=()):
-        if self.version.startswith("3.0"):
+        if self.version.startswith("3."):
             config_args += ("enable-fips",)
         super()._build_src(config_args)
 
-    def _post_install_300(self):
+    def _post_install_3xx(self):
         # create ssl/ subdir with example configs
         # Install FIPS module
         self._subprocess_call(

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to