From 13890100da7ceb0b1f85c26b024fba41c4eba59f Mon Sep 17 00:00:00 2001 From: Norbert Pocs Date: Wed, 26 Nov 2025 15:27:03 +0100 Subject: [PATCH] Configure: Warn about deprecated option when enabled 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 Reviewed-by: Neil Horman Reviewed-by: Eugene Syromiatnikov (Merged from https://github.com/openssl/openssl/pull/29229) --- Configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Configure b/Configure index 2d89667176d..b19a093ea89 100755 --- 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}; -- 2.47.3