diff options
author | Richard Levitte <levitte@openssl.org> | 2001-05-13 04:48:07 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-05-13 04:48:07 +0000 |
commit | 1449bda052094fe5ad3cb6ff4dd60d0266eacb4c (patch) | |
tree | d7eee294352e745df73ca1da4c62f3f97e4da54b /util/mkdef.pl | |
parent | 56bb1a7c83f2c498f4cc308786a4f253e8a5d9b5 (diff) | |
download | openssl-1449bda052094fe5ad3cb6ff4dd60d0266eacb4c.tar.gz |
When doing rewrites on ssleay.num, the file was prematurely closed.
Make rewrites the default, since it works, and people get confused if
changed information doesn't get rewritten automagically.
Diffstat (limited to 'util/mkdef.pl')
-rwxr-xr-x | util/mkdef.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/mkdef.pl b/util/mkdef.pl index 2c003c4b23..b622492538 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -60,7 +60,7 @@ my $crypto_num= "util/libeay.num"; my $ssl_num= "util/ssleay.num"; my $do_update = 0; -my $do_rewrite = 0; +my $do_rewrite = 1; my $do_crypto = 0; my $do_ssl = 0; my $do_ctest = 0; @@ -243,7 +243,7 @@ $crypto.=" crypto/x509v3/x509v3.h"; $crypto.=" crypto/rand/rand.h"; $crypto.=" crypto/comp/comp.h" ; # unless $no_comp; $crypto.=" crypto/ocsp/ocsp.h"; -$crypto.=" crypto/ui/ui.h"; +$crypto.=" crypto/ui/ui.h crypto/ui/ui_compat.h"; $crypto.=" crypto/tmdiff.h"; my $symhacks="crypto/symhacks.h"; @@ -259,7 +259,6 @@ if ($do_ssl == 1) { if ($do_rewrite == 1) { open(OUT, ">$ssl_num"); &rewrite_numbers(*OUT,"SSLEAY",*ssl_list,@ssl_symbols); - close OUT; } else { open(OUT, ">>$ssl_num"); } |