Pull up mkdef.pl from 0.9.8.
[openssl.git] / util / mkdef.pl
index fa5848ace6a39cadbbe82183ee8c0c5dca2f488a..c9417d3b90d47b480b0dbc76e58cc4e51539c64d 100755 (executable)
@@ -741,7 +741,8 @@ sub do_defs
                                } elsif (/^\s*DECLARE_PKCS12_STACK_OF\s*\(\s*(\w*)\s*\)/) {
                                        next;
                                } elsif (/^DECLARE_PEM_rw\s*\(\s*(\w*)\s*,/ ||
-                                        /^DECLARE_PEM_rw_cb\s*\(\s*(\w*)\s*,/ ) {
+                                        /^DECLARE_PEM_rw_cb\s*\(\s*(\w*)\s*,/ ||
+                                        /^DECLARE_PEM_rw_const\s*\(\s*(\w*)\s*,/ ) {
                                        # Things not in Win16
                                        $def .=
                                            "#INFO:"