Skip to content

Commit 944563b

Browse files
committed
Add options to disable ciphers
1 parent 4be022e commit 944563b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

recipes/openssl/3.x.x/conanfile.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ class OpenSSLConan(ConanFile):
5050
"no_dgram": [True, False],
5151
"no_dh": [True, False],
5252
"no_dsa": [True, False],
53+
"no_dtls": [True, False],
54+
"no_dtls1": [True, False],
55+
"no_dtls1_2": [True, False],
5356
"no_dso": [True, False],
5457
"no_ec": [True, False],
5558
"no_ecdh": [True, False],
@@ -84,6 +87,9 @@ class OpenSSLConan(ConanFile):
8487
"no_ssl3": [True, False],
8588
"no_threads": [True, False],
8689
"no_tls1": [True, False],
90+
"no_tls1_1": [True, False],
91+
"no_tls1_2": [True, False],
92+
"no_tls1_3": [True, False],
8793
"no_ts": [True, False],
8894
"no_whirlpool": [True, False],
8995
"no_zlib": [True, False],
@@ -408,7 +414,7 @@ def _configure_args(self):
408414
for option_name in self.default_options.keys():
409415
if self.options.get_safe(option_name, False) and option_name not in ("shared", "fPIC", "openssldir", "tls_security_level", "capieng_dialog", "enable_capieng", "zlib", "no_fips", "no_md2"):
410416
self.output.info(f"Activated option: {option_name}")
411-
args.append(option_name.replace("_", "-"))
417+
args.append(option_name.replace("_", "-", 1))
412418
return args
413419

414420
def generate(self):

0 commit comments

Comments
 (0)