summaryrefslogtreecommitdiff
path: root/util/perl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-03-02 18:38:07 +0100
committerRichard Levitte <levitte@openssl.org>2020-06-28 18:34:35 +0200
commit33d5b4a68ade2cb51513907ee0b57f146857ede5 (patch)
treec6cadae835f18c8f7d10bedddd24e2ae0aeb4fc9 /util/perl
parent4901b570ba13bad06a6418a636f6bdf98585a753 (diff)
downloadopenssl-new-33d5b4a68ade2cb51513907ee0b57f146857ede5.tar.gz
util/perl/OpenSSL/config.pm: Don't detect removed directories in
This is much better handled in Configure. [There's another PR moving this to Configure, so this commit should eventually disappear because rebase] Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11230)
Diffstat (limited to 'util/perl')
-rwxr-xr-xutil/perl/OpenSSL/config.pm13
1 files changed, 0 insertions, 13 deletions
diff --git a/util/perl/OpenSSL/config.pm b/util/perl/OpenSSL/config.pm
index c1bbd32fbf..0e8969c8e2 100755
--- a/util/perl/OpenSSL/config.pm
+++ b/util/perl/OpenSSL/config.pm
@@ -241,19 +241,6 @@ sub expand {
return $var;
}
-# Add no-xxx if someone removed a crypto algorithm directory.
-# TODO: This should be moved to Configure.
-my @cryptodir = (
- 'aes', 'aria', 'bf', 'camellia', 'cast', 'des', 'dh', 'dsa', 'ec', 'hmac',
- 'idea', 'md2', 'md5', 'mdc2', 'rc2', 'rc4', 'rc5', 'ripemd', 'rsa',
- 'seed', 'sha', 'sm2', 'sm3', 'sm4'
-);
-sub remove_removed_crypto_directories {
- foreach my $d ( @cryptodir ) {
- $options .= " no-$d" if ! -d "$WHERE/crypto/$d";
- }
-}
-
# Look for ISC/SCO with its unique uname program
sub is_sco_uname {
open UNAME, "uname -X 2>/dev/null|" or return '';