gh-100454: Start running SSL tests with OpenSSL 3.1.0-beta1 (#100456)

This commit is contained in:
Illia Volochii
2022-12-24 04:04:20 +02:00
committed by GitHub
parent 7ca45e5ddd
commit a23cb72ac8
3 changed files with 6 additions and 5 deletions

View File

@@ -402,15 +402,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(