From: Eugene Syromiatnikov Date: Tue, 31 Mar 2026 03:11:59 +0000 (+0200) Subject: util/checkplatformsyms.pl: check that supplied files exist X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2b97b5ddb485ca116868cf84bc3bfb9a3e7d3da;p=thirdparty%2Fopenssl.git util/checkplatformsyms.pl: check that supplied files exist Otherwise their absense is seemingly ignored, which leads to overlooked symbol additions. Signed-off-by: Eugene Syromiatnikov Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz MergeDate: Fri Apr 3 15:42:15 2026 (Merged from https://github.com/openssl/openssl/pull/30635) --- diff --git a/util/checkplatformsyms.pl b/util/checkplatformsyms.pl index 742dd8ea84f..c43d74daba9 100755 --- a/util/checkplatformsyms.pl +++ b/util/checkplatformsyms.pl @@ -14,6 +14,13 @@ my $expectedsyms=$ARGV[0]; shift(@ARGV); +# Check that object files exist +foreach (@ARGV) { + unless (-f $_ && -r $_) { + die "Path is not a regular readable file: '$_'"; + } +} + my $objlist; my $objfilelist = join(" ", @ARGV); my $expsyms;