From 16094305bca1c3e7d27e723d504d059f65f98cbe Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 6 Nov 2005 20:33:33 +0000 Subject: [PATCH] Add symbols for ASN1 print functions, update ordinal file. --- util/libeay.num | 1 + util/mkdef.pl | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/util/libeay.num b/util/libeay.num index f19d090bd7..2903d735aa 100755 --- a/util/libeay.num +++ b/util/libeay.num @@ -3413,3 +3413,4 @@ ASN1_PCTX_get_str_flags 3811 EXIST::FUNCTION: ASN1_PCTX_free 3812 EXIST::FUNCTION: DSO_pathbyaddr 3813 EXIST::FUNCTION: ASN1_PCTX_set_cert_flags 3814 EXIST::FUNCTION: +PKCS7_print_ctx 3815 EXIST::FUNCTION: diff --git a/util/mkdef.pl b/util/mkdef.pl index 1139160080..46aaf00685 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -739,6 +739,12 @@ sub do_defs $def .= "int i2d_$1_NDEF(void);"; } elsif (/^\s*DECLARE_ASN1_SET_OF\s*\(\s*(\w*)\s*\)/) { next; + } elsif (/^\s*DECLARE_ASN1_PRINT_FUNCTION\s*\(\s*(\w*)\s*\)/) { + $def .= "int $1_print_ctx(void);"; + next; + } elsif (/^\s*DECLARE_ASN1_PRINT_FUNCTION_name\s*\(\s*(\w*)\s*,\s*(\w*)\s*\)/) { + $def .= "int $2_print_ctx(void);"; + next; } elsif (/^\s*DECLARE_PKCS12_STACK_OF\s*\(\s*(\w*)\s*\)/) { next; } elsif (/^DECLARE_PEM_rw\s*\(\s*(\w*)\s*,/ || -- 2.25.1