projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make mkfiles.pl work with fipscanisteronly.
[openssl.git]
/
util
/
mkfiles.pl
diff --git
a/util/mkfiles.pl
b/util/mkfiles.pl
index 8bfbcae255f1c84abba728ec322c9c021c413ea5..66b78f417dd72d5355fc16de33e541893b96da34 100755
(executable)
--- a/
util/mkfiles.pl
+++ b/
util/mkfiles.pl
@@
-63,6
+63,17
@@
my @dirs = (
"crypto/pqueue",
"crypto/whrlpool",
"crypto/ts",
"crypto/pqueue",
"crypto/whrlpool",
"crypto/ts",
+"fips",
+"fips/aes",
+"fips/des",
+"fips/dsa",
+"fips/dh",
+"fips/ecdsa",
+"fips/hmac",
+"fips/rand",
+"fips/rsa",
+"fips/utl",
+"fips/sha",
"ssl",
"apps",
"engines",
"ssl",
"apps",
"engines",
@@
-73,7
+84,10
@@
my @dirs = (
%top;
%top;
+my $fipscanisteronly = 0;
+
foreach (@dirs) {
foreach (@dirs) {
+ next if ($fipscanisteronly && !(-d $_));
&files_dir ($_, "Makefile");
}
&files_dir ($_, "Makefile");
}
@@
-139,4
+153,8
@@
if ($dir eq "." && defined($sym{"BUILDENV"}))
print "RELATIVE_DIRECTORY=\n";
close (IN);
print "RELATIVE_DIRECTORY=\n";
close (IN);
+if ($dir eq "." && $sym{CONFIGURE_ARGS} =~ /fipscanisteronly/)
+ {
+ $fipscanisteronly = 1;
+ }
}
}