Skip to content

Commit

Permalink
[3.11] pythongh-100454: Start running SSL tests with OpenSSL 3.1.0-be…
Browse files Browse the repository at this point in the history
…ta1 (pythonGH-100456).

(cherry picked from commit a23cb72)

Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
  • Loading branch information
illia-v authored and gpshead committed Dec 24, 2022
1 parent 9477594 commit 965cea7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ jobs:
strategy:
fail-fast: false
matrix:
openssl_ver: [1.1.1q, 3.0.5]
openssl_ver: [1.1.1s, 3.0.7, 3.1.0-beta1]
env:
OPENSSL_VER: ${{ matrix.openssl_ver }}
MULTISSL_DIR: ${{ github.workspace }}/multissl
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Start running SSL tests with OpenSSL 3.1.0-beta1.
8 changes: 4 additions & 4 deletions Tools/ssl/multissltests.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,15 +403,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(
Expand Down

0 comments on commit 965cea7

Please sign in to comment.