diff options
author | Nils Larsch <nils@openssl.org> | 2005-04-05 18:17:13 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-04-05 18:17:13 +0000 |
commit | 69740c2b3f3bce9791d1a597c558c9829b9e7b69 (patch) | |
tree | 59ef0f858926642c419fda659064e94b8eae6f70 /apps/progs.pl | |
parent | 119d1a1dd4c6b7fbf793181d85a41dc3cfd6082e (diff) | |
download | openssl-69740c2b3f3bce9791d1a597c558c9829b9e7b69.tar.gz |
update progs.pl to reflect changes in progs.h
Diffstat (limited to 'apps/progs.pl')
-rw-r--r-- | apps/progs.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/progs.pl b/apps/progs.pl index c94f49bbf0..36569d2661 100644 --- a/apps/progs.pl +++ b/apps/progs.pl @@ -16,8 +16,8 @@ print <<'EOF'; typedef struct { int type; - char *name; - int (*func)(); + const char *name; + int (*func)(int argc,char *argv[]); } FUNCTION; FUNCTION functions[] = { @@ -29,6 +29,10 @@ foreach (@ARGV) $str="\t{FUNC_TYPE_GENERAL,\"$_\",${_}_main},\n"; if (($_ =~ /^s_/) || ($_ =~ /^ciphers$/)) { print "#if !defined(OPENSSL_NO_SOCK) && !(defined(OPENSSL_NO_SSL2) && defined(OPENSSL_NO_SSL3))\n${str}#endif\n"; } + elsif ( ($_ =~ /^speed$/)) + { print "#ifndef OPENSSL_NO_SPEED\n${str}#endif\n"; } + elsif ( ($_ =~ /^engine$/)) + { print "#ifndef OPENSSL_NO_ENGINE\n${str}#endif\n"; } elsif ( ($_ =~ /^rsa$/) || ($_ =~ /^genrsa$/) || ($_ =~ /^rsautl$/)) { print "#ifndef OPENSSL_NO_RSA\n${str}#endif\n"; } elsif ( ($_ =~ /^dsa$/) || ($_ =~ /^gendsa$/) || ($_ =~ /^dsaparam$/)) |