summaryrefslogtreecommitdiff
path: root/util/mkdef.pl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-12-21 01:38:55 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-12-21 01:38:55 +0000
commit3c07b4c2ee35181d8a02c56183b177f1c0010e2f (patch)
treeb52f2972e4405496c6602f9a7c6f234711660155 /util/mkdef.pl
parent1cc0b0a66a4197efb26c357a18f443608ed3d605 (diff)
downloadopenssl-new-3c07b4c2ee35181d8a02c56183b177f1c0010e2f.tar.gz
Various Win32 related fixes. Doesn't compile yet on
Win32 but it is getting there... Update mkdef.pl to handle ASN1_ANY and fix headers. Stop various VC++ warnings. Include some fixes from "Peter 'Luna' Runestig" <peter@runestig.com> Remove external declaration for des_set_weak_key_flag: it doesn't exist.
Diffstat (limited to 'util/mkdef.pl')
-rwxr-xr-xutil/mkdef.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/mkdef.pl b/util/mkdef.pl
index 6ffbbe431e..dc21310e47 100755
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -377,6 +377,13 @@ sub do_defs
}
if (/^\s*DECLARE_STACK_OF\s*\(\s*(\w*)\s*\)/) {
next;
+ } elsif (/^\s*DECLARE_ASN1_FUNCTIONS_fname\s*\(\s*(\w*)\s*,\s*(\w*)\s*,\s*(\w*)\s*\)/) {
+ $syms{"d2i_$3"} = 1;
+ $syms{"i2d_$3"} = 1;
+ $syms{"$3_new"} = 1;
+ $syms{"$3_free"} = 1;
+ $syms{"$2_it"} = 1;
+ $kind{"$2_it"} = "VARIABLE";
} elsif (/^\s*DECLARE_ASN1_FUNCTIONS\s*\(\s*(\w*)\s*\)/) {
$syms{"d2i_$1"} = 1;
$syms{"i2d_$1"} = 1;