Skip to content

Commit

Permalink
[3.10] pythongh-100454: Fix running SSL tests with OpenSSL 3.1+ (pyth…
Browse files Browse the repository at this point in the history
…onGH-100456) (pythonGH-118262)

This fixes Ubuntu pipeline with OpenSSL 3.1+

(cherry picked from commit 333c7dc)

Co-authored-by: Dimitri John Ledkov <[email protected]>
Co-authored-by: Illia Volochii <[email protected]>
  • Loading branch information
2 people authored and miss-islington committed Oct 9, 2024
1 parent 8b9a8e0 commit 22f2111
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix SSL tests CI for OpenSSL 3.1+
8 changes: 4 additions & 4 deletions Tools/ssl/multissltests.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,15 +395,15 @@ class BuildOpenSSL(AbstractBuilder):
install_target = 'install_sw'

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(
Expand Down

0 comments on commit 22f2111

Please sign in to comment.