From bcd0ed077b0bffc85617c45a84fabcbee869a806 Mon Sep 17 00:00:00 2001 From: Guillaume Egles Date: Sat, 30 Mar 2024 21:24:33 -0700 Subject: [PATCH] additional tweaks --- recipes/openssl/3.x.x/test_package/conanfile.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes/openssl/3.x.x/test_package/conanfile.py b/recipes/openssl/3.x.x/test_package/conanfile.py index 76d2cc26c1df0c..0dc8825448944a 100644 --- a/recipes/openssl/3.x.x/test_package/conanfile.py +++ b/recipes/openssl/3.x.x/test_package/conanfile.py @@ -16,15 +16,15 @@ def requirements(self): self.requires(self.tested_reference_str) def _with_legacy(self): - return (not self.dependencies["openssl"].options.no_legacy and - ((not self.dependencies["openssl"].options.no_md4) or - (not self.dependencies["openssl"].options.no_rmd160))) + return (not self.dependencies[self.tested_reference_str].options.no_legacy and + ((not self.dependencies[self.tested_reference_str].options.no_md4) or + (not self.dependencies[self.tested_reference_str].options.no_rmd160))) def generate(self): tc = CMakeToolchain(self) tc.cache_variables["OPENSSL_WITH_LEGACY"] = self._with_legacy() - tc.cache_variables["OPENSSL_WITH_MD4"] = not self.dependencies["openssl"].options.no_md4 - tc.cache_variables["OPENSSL_WITH_RIPEMD160"] = not self.dependencies["openssl"].options.no_rmd160 + tc.cache_variables["OPENSSL_WITH_MD4"] = not self.dependencies[self.tested_reference_str].options.no_md4 + tc.cache_variables["OPENSSL_WITH_RIPEMD160"] = not self.dependencies[self.tested_reference_str].options.no_rmd160 tc.generate() def build(self):