From 58cc769cc6f8fae2c7fc03c2caaf63a699c9cafc Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Sun, 8 Jun 2025 19:44:11 +0000 Subject: allow checking of tls.h --- src/regress/lib/libcrypto/man/check_complete.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 @@ #!/usr/bin/perl # -# Copyright (c) 2021 Ingo Schwarze +# Copyright (c) 2021,2022,2023,2024,2025 Ingo Schwarze # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -119,7 +119,7 @@ my %postponed = ( my $MANW = 'man -M /usr/share/man -w'; my $srcdir = '/usr/src/lib/libcrypto/man'; -my $hfile = '/usr/include/openssl'; +my $hfile = '/usr/include'; my $in_cplusplus = 0; my $in_comment = 0; @@ -136,6 +136,7 @@ if (defined $ARGV[0] && $ARGV[0] eq '-v') { shift @ARGV; } $#ARGV == 0 or die "usage: $0 [-v] headername"; +$hfile .= "/openssl" unless $ARGV[0] eq 'tls'; $hfile .= "/$ARGV[0].h"; open my $in_fh, '<', $hfile or die "$hfile: $!"; -- cgit v1.2.3-55-g6feb