Skip to content

Commit

Permalink
(conan-io#22559) openssl: add enable_trace option
Browse files Browse the repository at this point in the history
This option is required in order to use tracing API introduced in
OpenSSL 3.0 [1].

Fixes conan-io#22556

[1] https://www.openssl.org/docs/manmaster/man3/OSSL_trace_set_channel.html#Configure-Tracing
  • Loading branch information
adamws authored Feb 6, 2024
1 parent 8b3f3ac commit b964871
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/openssl/3.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class OpenSSLConan(ConanFile):
"386": [True, False],
"capieng_dialog": [True, False],
"enable_capieng": [True, False],
"enable_trace": [True, False],
"no_aria": [True, False],
"no_autoload_config": [True, False],
"no_asm": [True, False],
Expand Down Expand Up @@ -386,6 +387,9 @@ def _configure_args(self):
args.append("no-md2" if self.options.get_safe("no_md2", True) else "enable-md2")
args.append("-DOPENSSL_TLS_SECURITY_LEVEL=%s" % str(self.options.tls_security_level))

if self.options.get_safe("enable_trace"):
args.append("enable-trace")

if self.settings.os == "Neutrino":
args.append("no-asm -lsocket -latomic")

Expand Down

0 comments on commit b964871

Please sign in to comment.