]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Remove crypto-mdebug-backtrace option from config
authorNeil Horman <nhorman@openssl.org>
Thu, 11 Dec 2025 15:31:32 +0000 (10:31 -0500)
committerNeil Horman <nhorman@openssl.org>
Sat, 13 Dec 2025 00:34:54 +0000 (19:34 -0500)
We still build with crypto-mdebug-backtrace enabled in a few ci jobs,
but it does nothing.

With the upcoming merge of feature/removesslv3, the code changes there
prevent the use of this option (i.e. enabling it results in
configuration failure).

It seems the most sensible thing to do here, given we have a major
release is to eliminate the option entirely, as it hasn't done anything
since 1.0.2.

Fixes openssl/project#1763

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29380)

.github/workflows/run-checker-daily.yml
CHANGES.md
Configure
INSTALL.md
NEWS.md

index 9d347b16bfe9f85dd1435640cf47571267743183..c301b3429005f659ac9e8eea066f4ef89dab7a8e 100644 (file)
@@ -45,7 +45,6 @@ jobs:
           no-cmac,
           no-comp,
           enable-crypto-mdebug,
-          enable-crypto-mdebug-backtrace,
           no-ct,
           enable-demos,
           no-deprecated,
index 31ec4adf52666d3e905d1d20aa959757830ce49a..0156923e2f0e267948dc43029c64dc3153927f9e 100644 (file)
@@ -32,6 +32,11 @@ OpenSSL 4.0
 
 ### Changes between 3.6 and 4.0 [xx XXX xxxx]
 
+ * The crypto-mdebug-backtrace configuration option has been entirely removed.
+   The option has been a no-op since 1.0.2.
+
+   *Neil Horman*
+
  * Removed extra leading '00:' when printing key data such as an RSA modulus
    in hexadecimal format where the first (most significant) byte is >= 0x80.
    This had been added artificially to resemble ASN.1 DER encoding internals.
index a73f464fd7478ea3efbc82344f7cb49920ded9a5..c365a61c9719656f51ee3d0a25497289bcd401a1 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -576,7 +576,6 @@ my %deprecated_disablables = (
     "padlockeng" => undef,
     "ssl2" => undef,
     "buf-freelists" => undef,
-    "crypto-mdebug-backtrace" => undef,
     "hw" => undef,
     "hw-padlock" => undef,
     "ripemd" => "rmd160",
@@ -595,7 +594,6 @@ our %disabled = ( # "what"         => "comment"
                   "buildtest-c++"       => "default",
                   "crypto-mdebug"       => "default",
                   "allocfail-tests"     => "default",
-                  "crypto-mdebug-backtrace" => "default",
                   "demos"               => "default",
                   "h3demo"              => "default",
                   "hqinterop"           => "default",
@@ -669,7 +667,7 @@ my @disable_cascades = (
     "tls1_3"            => [ "quic" ],
     "quic"              => [ "unstable-qlog" ],
 
-    "crypto-mdebug"     => [ "crypto-mdebug-backtrace", "allocfail-tests" ],
+    "crypto-mdebug"     => [ "allocfail-tests" ],
 
     "module"            => [ "fips" ],
 
index 414c08d3662d5edf372372f624901c720161886b..0c6b895cc8a7f33b2aad4a98fa9c98a3ab305964 100644 (file)
@@ -729,10 +729,6 @@ the zlib or `zlib-dynamic` options are also chosen.
 
 This now only enables the `failed-malloc` feature.
 
-### enable-crypto-mdebug-backtrace
-
-This is a no-op; the project uses the compiler's address/leak sanitizer instead.
-
 ### enable-allocfail-tests
 
 This option enables testing that leverages the use of the crypto-mdebug feature
diff --git a/NEWS.md b/NEWS.md
index 3944e99cf0a1d1ba7309cc829d8d5f92283c0d66..164fd8ca376e663e263f478a77741f7c37ef3279 100644 (file)
--- a/NEWS.md
+++ b/NEWS.md
@@ -30,6 +30,8 @@ OpenSSL 4.0
   * ENGINE support was removed. The `no-engine` build option and the
    `OPENSSL_NO_ENGINE` macro is always present.
 
+  * The crypto-mdebug-backtrace configuration option has been entirely removed.
+
 OpenSSL 3.6
 -----------