diff options
author | Richard Levitte <levitte@openssl.org> | 2002-10-24 19:09:03 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-10-24 19:09:03 +0000 |
commit | 6cb686208ebeade1e8cd029c6d5aaf575cc759f9 (patch) | |
tree | 66d41de47f446bda38f9a9e9da60f3c82ac177d2 /util/mkdef.pl | |
parent | bd1fb772457891c99b6c676d04fdbd6c86aca45b (diff) | |
download | openssl-6cb686208ebeade1e8cd029c6d5aaf575cc759f9.zip openssl-6cb686208ebeade1e8cd029c6d5aaf575cc759f9.tar.gz openssl-6cb686208ebeade1e8cd029c6d5aaf575cc759f9.tar.bz2 |
For the mkdef.pl to recognise if the "external" engines are inserted
into libcrypto, we need the "algorithm" STATIC_ENGINE.
Diffstat (limited to 'util/mkdef.pl')
-rwxr-xr-x | util/mkdef.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/util/mkdef.pl b/util/mkdef.pl index db08e29..fffd1d9 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -91,7 +91,9 @@ my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF", "BIO", "COMP", "BUFFER", "LHASH", "STACK", "ERR", "LOCKING", # External "algorithms" - "FP_API", "STDIO", "SOCK", "KRB5" ); + "FP_API", "STDIO", "SOCK", "KRB5", + # Engines + "STATIC_ENGINE" ); my $options=""; open(IN,"<Makefile.ssl") || die "unable to open Makefile.ssl!\n"; @@ -108,7 +110,7 @@ my $no_cast; my $no_md2; my $no_md4; my $no_md5; my $no_sha; my $no_ripemd; my $no_mdc2; my $no_rsa; my $no_dsa; my $no_dh; my $no_hmac=0; my $no_aes; my $no_krb5; my $no_ec; my $no_ecdsa; my $no_ecdh; -my $no_fp_api; +my $no_fp_api; my $no_static_engine; foreach (@ARGV, split(/ /, $options)) { @@ -443,6 +445,7 @@ sub do_defs s/\/\*.*?\*\///gs; # ignore comments s/{[^{}]*}//gs; # ignore {} blocks + print STDERR "DEBUG: \$def=\"$def\"\n" if $debug && $def ne ""; print STDERR "DEBUG: \$_=\"$_\"\n" if $debug; if (/^\#\s*ifndef\s+(.*)/) { push(@tag,"-"); @@ -1061,6 +1064,7 @@ sub is_valid if ($keyword eq "DSO" && $no_dso) { return 0; } if ($keyword eq "KRB5" && $no_krb5) { return 0; } if ($keyword eq "FP_API" && $no_fp_api) { return 0; } + if ($keyword eq "STATIC_ENGINE" && $no_static_engine) { return 0; } # Nothing recognise as true return 1; |