The branch master has been updated
via 0eb154663478968137112441d16b593fdf2ebcf8 (commit)
from bc8b648f744566031ce84d77333dbbcb9689e975 (commit)
- Log -----------------------------------------------------------------
commit 0eb154663478968137112441d16b593fdf2ebcf8
Author: Rich Salz <[email protected]>
Date: Wed Jan 15 11:41:07 2020 -0500
Add $debug variable and use it
Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Matthias St. Pierre <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/10852)
-----------------------------------------------------------------------
Summary of changes:
util/mkdef.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/util/mkdef.pl b/util/mkdef.pl
index b923cb62c3..6d376d3aab 100755
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -31,6 +31,7 @@ my $version = undef; # the version to use for the
library
my $OS = undef; # the operating system family
my $verbose = 0;
my $ctest = 0;
+my $debug = 0;
# For VMS, some modules may have case insensitive names
my $case_insensitive = 0;
@@ -193,7 +194,7 @@ sub feature_filter {
my $symdep = $1 * 10000 + $2 * 100 + ($3 // 0);
$verdict = 0 if $config{api} >= $symdep;
print STDERR "DEBUG: \$symdep = $symdep, \$verdict = $verdict\n"
- if $1 == 0;
+ if $debug && $1 == 0;
}
}