From: Bob Beck Date: Mon, 27 Apr 2026 19:10:18 +0000 (-0600) Subject: Fix progs.pl to generate guarded header X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b70ac27bfda2d9f30d7b38f3c40bdc4881a1027;p=thirdparty%2Fopenssl.git Fix progs.pl to generate guarded header Reviewed-by: Tomas Mraz Reviewed-by: Nikola Pajkovsky Reviewed-by: Norbert Pocs MergeDate: Wed May 6 11:35:52 2026 (Merged from https://github.com/openssl/openssl/pull/31001) --- diff --git a/apps/progs.pl b/apps/progs.pl index 7abc483a9b9..01789b90587 100644 --- a/apps/progs.pl +++ b/apps/progs.pl @@ -60,6 +60,9 @@ if ($opt eq '-H') { * https://www.openssl.org/source/license.html */ +#if !defined(OSSL_APPS_PROGS_H) +#define OSSL_APPS_PROGS_H + #include "function.h" EOF @@ -74,6 +77,7 @@ EOF } print "\n"; print "extern FUNCTION functions[];\n"; + print "\n#endif /* !defined(OSSL_APPS_PROGS_H) */\n"; } if ($opt eq '-C') {