Skip to content

Commit 1cff36d

Browse files
illia-vxnox
authored andcommitted
pythongh-100454: Fix running SSL tests with OpenSSL 3.1+ (pythonGH-100456)
This fixes Ubuntu pipeline with OpenSSL 3.1+
1 parent 812245e commit 1cff36d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix SSL tests CI for OpenSSL 3.1+

Tools/ssl/multissltests.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -404,15 +404,15 @@ class BuildOpenSSL(AbstractBuilder):
404404
depend_target = 'depend'
405405

406406
def _post_install(self):
407-
if self.version.startswith("3.0"):
408-
self._post_install_300()
407+
if self.version.startswith("3."):
408+
self._post_install_3xx()
409409

410410
def _build_src(self, config_args=()):
411-
if self.version.startswith("3.0"):
411+
if self.version.startswith("3."):
412412
config_args += ("enable-fips",)
413413
super()._build_src(config_args)
414414

415-
def _post_install_300(self):
415+
def _post_install_3xx(self):
416416
# create ssl/ subdir with example configs
417417
# Install FIPS module
418418
self._subprocess_call(

0 commit comments

Comments
 (0)