summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/man/check_complete.pl
diff options
context:
space:
mode:
authorschwarze <>2025-06-08 19:44:11 +0000
committerschwarze <>2025-06-08 19:44:11 +0000
commit58cc769cc6f8fae2c7fc03c2caaf63a699c9cafc (patch)
tree47e8e132b9d7bf0ac7df42004263469ec4f2122a /src/regress/lib/libcrypto/man/check_complete.pl
parentee9c96a979008464de3cdbdfb8ebd331458f9c58 (diff)
downloadopenbsd-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-xsrc/regress/lib/libcrypto/man/check_complete.pl5
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
120my $MANW = 'man -M /usr/share/man -w'; 120my $MANW = 'man -M /usr/share/man -w';
121my $srcdir = '/usr/src/lib/libcrypto/man'; 121my $srcdir = '/usr/src/lib/libcrypto/man';
122my $hfile = '/usr/include/openssl'; 122my $hfile = '/usr/include';
123 123
124my $in_cplusplus = 0; 124my $in_cplusplus = 0;
125my $in_comment = 0; 125my $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";
140open my $in_fh, '<', $hfile or die "$hfile: $!"; 141open my $in_fh, '<', $hfile or die "$hfile: $!";
141 142