diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2003-03-20 17:58:33 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2003-03-20 17:58:33 +0000 |
commit | ea3675b5b60789f87a998bad8aab0ca53b3af4ed (patch) | |
tree | e1adc7663800410999ed7cd0f16a6cf253e85ab1 /util/mkdef.pl | |
parent | c554155b58f5c0dda132048bb0a68a2d1a463d98 (diff) | |
download | openssl-ea3675b5b60789f87a998bad8aab0ca53b3af4ed.zip openssl-ea3675b5b60789f87a998bad8aab0ca53b3af4ed.tar.gz openssl-ea3675b5b60789f87a998bad8aab0ca53b3af4ed.tar.bz2 |
New ASN1 macros to just implement and declare the new and free functions
and changes to mkdef.pl so it recognises them.
Use these in policyMappings extension.
Diffstat (limited to 'util/mkdef.pl')
-rwxr-xr-x | util/mkdef.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/mkdef.pl b/util/mkdef.pl index f7f0e6e..3091e20 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -673,6 +673,10 @@ sub do_defs "EXPORT_VAR_AS_FUNCTION", "FUNCTION"); next; + } elsif (/^\s*DECLARE_ASN1_ALLOC_FUNCTIONS\s*\(\s*(\w*)\s*\)/) { + $def .= "int $1_free(void);"; + $def .= "int $1_new(void);"; + next; } elsif (/^\s*DECLARE_ASN1_FUNCTIONS_name\s*\(\s*(\w*)\s*,\s*(\w*)\s*\)/) { $def .= "int d2i_$2(void);"; $def .= "int i2d_$2(void);"; |