Continuing TLS v1.2 support: add support for server parsing of
[openssl.git] / util / mkfiles.pl
index 2d77a82b0c8194eab9d29a3efdc5376e8b7c2661..94ab502f8d0c44f9aacf38fae1881711c03d6f70 100755 (executable)
@@ -63,8 +63,10 @@ my @dirs = (
 "crypto/pqueue",
 "crypto/whrlpool",
 "crypto/ts",
+"crypto/srp",
 "fips",
 "fips/aes",
+"fips/cmac",
 "fips/des",
 "fips/dsa",
 "fips/dh",
@@ -84,7 +86,10 @@ my @dirs = (
 
 %top;
 
+my $fipscanisteronly = 0;
+
 foreach (@dirs) {
+       next if ($fipscanisteronly && !(-d $_));
        &files_dir ($_, "Makefile");
 }
 
@@ -150,4 +155,8 @@ if ($dir eq "." && defined($sym{"BUILDENV"}))
 print "RELATIVE_DIRECTORY=\n";
 
 close (IN);
+if ($dir eq "." && $sym{FIPSCANISTERONLY} eq "y")
+       {
+       $fipscanisteronly = 1;
+       }
 }