mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
[3.11] gh-100454: Start running SSL tests with OpenSSL 3.1.0-beta1 (#100486)
[3.11] gh-100454: Start running SSL tests with OpenSSL 3.1.0-beta1 (GH-100456).
(cherry picked from commit a23cb72ac8
)
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
This commit is contained in:
parent
a7eee898ab
commit
341bdd6589
3 changed files with 6 additions and 5 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Start running SSL tests with OpenSSL 3.1.0-beta1.
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue