]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Enable ssl-trace by default
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 8 Jun 2021 21:45:38 +0000 (16:45 -0500)
committerMatt Caswell <matt@openssl.org>
Thu, 10 Jun 2021 08:42:12 +0000 (09:42 +0100)
There doesn't appear to be a good reason to omit protocol message tracing by default.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15665)

Configure
INSTALL.md
doc/man1/openssl-s_client.pod.in
doc/man1/openssl-s_server.pod.in

index f6951bbb1883fec09c4f1b78e5587265448ad583..c6e85b3e48a6100ca28e04d9029057f3ac54bf2b 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -548,7 +548,6 @@ our %disabled = ( # "what"         => "comment"
                   "msan"                => "default",
                   "rc5"                 => "default",
                   "sctp"                => "default",
-                  "ssl-trace"           => "default",
                   "ssl3"                => "default",
                   "ssl3-method"         => "default",
                   "trace"               => "default",
@@ -575,7 +574,7 @@ my @disable_cascades = (
                              "rc2", "rc4", "rmd160",
                              "seed", "siphash", "siv",
                              "sm3", "sm4", "srp",
-                             "srtp", "ssl3-method",
+                             "srtp", "ssl3-method", "ssl-trace",
                              "ts", "ui-console", "whirlpool",
                              "fips-securitychecks" ],
     sub { $config{processor} eq "386" }
index 1855dcd1287a49cebb5cfca54bf5a87b94076471..202a66885e49f570c7d392ac90bbbd4da27f5b26 100644 (file)
@@ -850,11 +850,14 @@ disengage SSE2 code paths upon application start-up, but if you aim for wider
 "audience" running such kernel, consider `no-sse2`.  Both the `386` and `no-asm`
 options imply `no-sse2`.
 
-### enable-ssl-trace
+### no-ssl-trace
 
-Build with the SSL Trace capabilities.
+Don't build with SSL Trace capabilities.
 
-This adds the `-trace` option to `s_client` and `s_server`.
+This removes the `-trace` option from `s_client` and `s_server`, and omits the
+`SSL_trace()` function from libssl.
+
+Disabling `ssl-trace` may provide a small reduction in libssl binary size.
 
 ### no-static-engine
 
index 985ca4125dd8b64a19f3e67dbbdfe9a57ab3fd0b..144e367d4ec0085bd712637335cddfce6d0990c9 100644 (file)
@@ -460,8 +460,7 @@ Show all protocol messages with hex dump.
 
 =item B<-trace>
 
-Show verbose trace output of protocol messages. OpenSSL needs to be compiled
-with B<enable-ssl-trace> for this option to work.
+Show verbose trace output of protocol messages.
 
 =item B<-msgfile> I<filename>
 
index 27522fc04bed40822f761a3f701d35a837f7d0ce..97852ae7bff025ed83aaa36c9b650e47339969c6 100644 (file)
@@ -536,8 +536,7 @@ Configure SSL_CTX using the given configuration value.
 
 =item B<-trace>
 
-Show verbose trace output of protocol messages. OpenSSL needs to be compiled
-with B<enable-ssl-trace> for this option to work.
+Show verbose trace output of protocol messages.
 
 =item B<-brief>