Update mkdef.pl to handle new ASN1 macro
authorDr. Stephen Henson <steve@openssl.org>
Fri, 4 Oct 2002 20:24:50 +0000 (20:24 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 4 Oct 2002 20:24:50 +0000 (20:24 +0000)
util/mkdef.pl

index 3fe6d28..dc84816 100755 (executable)
@@ -710,6 +710,8 @@ sub do_defs
                                                      "EXPORT_VAR_AS_FUNCTION",
                                                      "FUNCTION");
                                        next;
+                               } elsif (/^\s*DECLARE_ASN1_NDEF_FUNCTION\s*\(\s*(\w*)\s*\)/) {
+                                       $def .= "int d2i_$1_NDEF(void);";
                                } elsif (/^\s*DECLARE_ASN1_SET_OF\s*\(\s*(\w*)\s*\)/) {
                                        next;
                                } elsif (/^\s*DECLARE_PKCS12_STACK_OF\s*\(\s*(\w*)\s*\)/) {