"crypto/dso",
"crypto/dh",
"crypto/ec",
-"crypto/ecdh",
-"crypto/ecdsa",
"crypto/buffer",
"crypto/bio",
"crypto/stack",
"crypto/x509v3",
"crypto/cms",
"crypto/conf",
-"crypto/jpake",
"crypto/txt_db",
"crypto/pkcs7",
"crypto/pkcs12",
"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");
}
while (<IN>)
{
- chop;
+ s|\R$||;
s/#.*//;
- if (/^(\S+)\s*=\s*(.*)$/)
+ if (/^([^\s=]+)\s*=\s*(.*)$/)
{
$o="";
($s,$b)=($1,$2);
{
if ($b =~ /\\$/)
{
- chop($b);
+ $b=$`;
$o.=$b." ";
- $b=<IN>;
- chop($b);
+ $b = "" unless defined($b = <IN>);
+ $b =~ s{\R$}{};
}
else
{
print "RELATIVE_DIRECTORY=\n";
close (IN);
+if ($dir eq "." && $sym{FIPSCANISTERONLY} eq "y")
+ {
+ $fipscanisteronly = 1;
+ }
}