mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
Clean up the "fips" option to Configure
Don't die if someone says "fips" instead of "enable-fips" Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15346)
This commit is contained in:
parent
8a196fe228
commit
cc9f9b9899
@ -799,6 +799,7 @@ while (@argvcopy)
|
||||
s /^threads$/enable-threads/;
|
||||
s /^zlib$/enable-zlib/;
|
||||
s /^zlib-dynamic$/enable-zlib-dynamic/;
|
||||
s /^fips$/enable-fips/;
|
||||
|
||||
if (/^(no|disable|enable)-(.+)$/)
|
||||
{
|
||||
@ -923,20 +924,12 @@ while (@argvcopy)
|
||||
}
|
||||
elsif (/^386$/)
|
||||
{ $config{processor}=386; }
|
||||
elsif (/^fips$/)
|
||||
{
|
||||
die "FIPS mode not supported\n";
|
||||
}
|
||||
elsif (/^rsaref$/)
|
||||
{
|
||||
# No RSAref support any more since it's not needed.
|
||||
# The check for the option is there so scripts aren't
|
||||
# broken
|
||||
}
|
||||
elsif (/^nofipscanistercheck$/)
|
||||
{
|
||||
die "FIPS mode not supported\n";
|
||||
}
|
||||
elsif (m|^[-+/]|)
|
||||
{
|
||||
if (/^--prefix=(.*)$/)
|
||||
|
Loading…
x
Reference in New Issue
Block a user