diff --git a/util/find-doc-nits b/util/find-doc-nits index 006edbd184..ac661827dd 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -100,6 +100,8 @@ my $ignored = qr/(?| ^i2d_ | ^_?DECLARE_ | ^sk_ | ^SKM_DEFINE_STACK_OF_INTERNAL + | ^lh_ + | ^DEFINE_LHASH_OF_INTERNAL )/x; # Collect all POD files, both internal and public, and regardless of location diff --git a/util/perl/OpenSSL/ParseC.pm b/util/perl/OpenSSL/ParseC.pm index b2ac909dc1..7e6377dd17 100644 --- a/util/perl/OpenSSL/ParseC.pm +++ b/util/perl/OpenSSL/ParseC.pm @@ -281,7 +281,7 @@ EOF { regexp => qr/(.*)\bLHASH_OF<<<\((.*?)\)>>>(.*)/, massager => sub { return ("$1struct lhash_st_$2$3"); } }, - { regexp => qr/DEFINE_LHASH_OF<<<\((.*)\)>>>/, + { regexp => qr/DEFINE_LHASH_OF(?:_INTERNAL)?<<<\((.*)\)>>>/, massager => sub { return (<<"EOF"); static ossl_inline LHASH_OF($1) * lh_$1_new(unsigned long (*hfn)(const $1 *),