diff options
author | schwarze <> | 2025-06-08 19:44:11 +0000 |
---|---|---|
committer | schwarze <> | 2025-06-08 19:44:11 +0000 |
commit | 58cc769cc6f8fae2c7fc03c2caaf63a699c9cafc (patch) | |
tree | 47e8e132b9d7bf0ac7df42004263469ec4f2122a /src/regress/lib/libcrypto/man/check_complete.pl | |
parent | ee9c96a979008464de3cdbdfb8ebd331458f9c58 (diff) | |
download | openbsd-58cc769cc6f8fae2c7fc03c2caaf63a699c9cafc.tar.gz openbsd-58cc769cc6f8fae2c7fc03c2caaf63a699c9cafc.tar.bz2 openbsd-58cc769cc6f8fae2c7fc03c2caaf63a699c9cafc.zip |
allow checking of tls.h
Diffstat (limited to 'src/regress/lib/libcrypto/man/check_complete.pl')
-rwxr-xr-x | src/regress/lib/libcrypto/man/check_complete.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/man/check_complete.pl b/src/regress/lib/libcrypto/man/check_complete.pl index 7455affa60..3cbf02f16a 100755 --- a/src/regress/lib/libcrypto/man/check_complete.pl +++ b/src/regress/lib/libcrypto/man/check_complete.pl | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | # | 2 | # |
3 | # Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | # Copyright (c) 2021,2022,2023,2024,2025 Ingo Schwarze <schwarze@openbsd.org> |
4 | # | 4 | # |
5 | # Permission to use, copy, modify, and distribute this software for any | 5 | # Permission to use, copy, modify, and distribute this software for any |
6 | # purpose with or without fee is hereby granted, provided that the above | 6 | # purpose with or without fee is hereby granted, provided that the above |
@@ -119,7 +119,7 @@ my %postponed = ( | |||
119 | 119 | ||
120 | my $MANW = 'man -M /usr/share/man -w'; | 120 | my $MANW = 'man -M /usr/share/man -w'; |
121 | my $srcdir = '/usr/src/lib/libcrypto/man'; | 121 | my $srcdir = '/usr/src/lib/libcrypto/man'; |
122 | my $hfile = '/usr/include/openssl'; | 122 | my $hfile = '/usr/include'; |
123 | 123 | ||
124 | my $in_cplusplus = 0; | 124 | my $in_cplusplus = 0; |
125 | my $in_comment = 0; | 125 | my $in_comment = 0; |
@@ -136,6 +136,7 @@ if (defined $ARGV[0] && $ARGV[0] eq '-v') { | |||
136 | shift @ARGV; | 136 | shift @ARGV; |
137 | } | 137 | } |
138 | $#ARGV == 0 or die "usage: $0 [-v] headername"; | 138 | $#ARGV == 0 or die "usage: $0 [-v] headername"; |
139 | $hfile .= "/openssl" unless $ARGV[0] eq 'tls'; | ||
139 | $hfile .= "/$ARGV[0].h"; | 140 | $hfile .= "/$ARGV[0].h"; |
140 | open my $in_fh, '<', $hfile or die "$hfile: $!"; | 141 | open my $in_fh, '<', $hfile or die "$hfile: $!"; |
141 | 142 | ||