mirror of https://github.com/python/cpython.git
[3.9] gh-100454: Fix running SSL tests with OpenSSL 3.1+ (GH-100456) (GH-125186)
This fixes Ubuntu pipeline with OpenSSL 3.1+
(cherry picked from commit 333c7dccd8
)
Co-authored-by: Dimitri John Ledkov <19779+xnox@users.noreply.github.com>
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
This commit is contained in:
parent
8b9a8e0e08
commit
681e0fa658
|
@ -0,0 +1 @@
|
|||
Fix SSL tests CI for OpenSSL 3.1+
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue