artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d00bcd
)
X509_STORE_CTX_get_check_issued(3) is weird.
author
schwarze
<schwarze@openbsd.org>
Tue, 8 Aug 2023 13:59:23 +0000
(13:59 +0000)
committer
schwarze
<schwarze@openbsd.org>
Tue, 8 Aug 2023 13:59:23 +0000
(13:59 +0000)
Both the function return type and the function name are so long
that for displaying the function prototype,
a line break is needed after the function return type.
regress/lib/libcrypto/man/check_complete.pl
patch
|
blob
|
history
diff --git
a/regress/lib/libcrypto/man/check_complete.pl
b/regress/lib/libcrypto/man/check_complete.pl
index
76f031e
..
4f5d6d1
100755
(executable)
--- a/
regress/lib/libcrypto/man/check_complete.pl
+++ b/
regress/lib/libcrypto/man/check_complete.pl
@@
-441,6
+441,15
@@
try_again:
$_ .= <$in_fh>;
goto try_again;
}
+ # The name of the function return type is so long
+ # that it requires a line break afterwards.
+ if (/^\w{30,}$/) {
+ my $next_line = <$in_fh>;
+ if ($next_line =~ /^ {4}\w/) {
+ $_ .= $next_line;
+ goto try_again;
+ }
+ }
die "parse error: $_";
}
close $in_fh;