]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Configure: Warn about deprecated option when enabled
authorNorbert Pocs <norbertp@openssl.org>
Wed, 26 Nov 2025 14:27:03 +0000 (15:27 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 28 Nov 2025 16:24:46 +0000 (17:24 +0100)
Currently the deprecated configure option is warned only when
"(no|disabled)-feature" is used, but wasn't warning when
"enable-feature" was passed as a config option.

Signed-off-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29229)

Configure

index 2d89667176d1634ef8b20dd13f842ce1d8ed638e..b19a093ea89b5d352816852f9364364e304c5606 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -984,6 +984,10 @@ while (@argvcopy)
                         delete $disabled{"fips"};
                         delete $disabled{"jitter"};
                         }
+                elsif (exists $deprecated_disablables{$1})
+                        {
+                        $deprecated_options{$_} = 1;
+                        }
                 my $algo = $1;
                 delete $disabled{$algo};