"crypto/aes",
"crypto/camellia",
"crypto/seed",
+"crypto/modes",
+"crypto/cmac",
"crypto/bn",
"crypto/rsa",
"crypto/dsa",
"crypto/dso",
"crypto/dh",
"crypto/ec",
-"crypto/ecdh",
-"crypto/ecdsa",
"crypto/buffer",
"crypto/bio",
"crypto/stack",
"crypto/engine",
"crypto/ocsp",
"crypto/ui",
-"crypto/krb5",
#"crypto/store",
-"crypto/pqueue",
"crypto/whrlpool",
"crypto/ts",
+"crypto/srp",
+"crypto/ct",
+"crypto/async",
+"crypto/chacha",
+"crypto/poly1305",
+"crypto/kdf",
"ssl",
"apps",
"engines",
-"engines/ccgost",
"test",
"tools"
);
%top;
+my $fipscanisteronly = 0;
+
foreach (@dirs) {
+ next if ($fipscanisteronly && !(-d $_));
&files_dir ($_, "Makefile");
}
{
chop;
s/#.*//;
- if (/^(\S+)\s*=\s*(.*)$/)
+ if (/^([^\s=]+)\s*=\s*(.*)$/)
{
$o="";
($s,$b)=($1,$2);
print "RELATIVE_DIRECTORY=\n";
close (IN);
+if ($dir eq "." && $sym{FIPSCANISTERONLY} eq "y")
+ {
+ $fipscanisteronly = 1;
+ }
}