Fix some doc-nits and make update errors
authorMatt Caswell <matt@openssl.org>
Tue, 15 Sep 2020 13:00:37 +0000 (14:00 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 18 Sep 2020 12:30:44 +0000 (13:30 +0100)
The new lhash changes have confused some of the perl scripts so we add
some fixes.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12860)

util/find-doc-nits
util/perl/OpenSSL/ParseC.pm

index 006edbd184b6a4f57c927d349b5e8e7e3217edc2..ac661827dda673213d204119467a6737e0a6ceac 100755 (executable)
@@ -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
index b2ac909dc181406770cae4570fa6336626183471..7e6377dd17543bf93b7f05e90193a7ab72ee2586 100644 (file)
@@ -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 *),