Fix free errors in ocsp utility.
[openssl.git] / util / mkfiles.pl
index 6d158314509f1279ebf4cce8c09f4d0a11690634..7dff4a695d9ce89cb631c668c77143fe26f4ab57 100755 (executable)
@@ -27,6 +27,7 @@ my @dirs = (
 "crypto/camellia",
 "crypto/seed",
 "crypto/modes",
+"crypto/cmac",
 "crypto/bn",
 "crypto/rsa",
 "crypto/dsa",
@@ -62,6 +63,20 @@ my @dirs = (
 "crypto/pqueue",
 "crypto/whrlpool",
 "crypto/ts",
+"crypto/srp",
+"fips",
+"fips/aes",
+"fips/cmac",
+"fips/des",
+"fips/dsa",
+"fips/dh",
+"fips/ecdh",
+"fips/ecdsa",
+"fips/hmac",
+"fips/rand",
+"fips/rsa",
+"fips/utl",
+"fips/sha",
 "ssl",
 "apps",
 "engines",
@@ -72,7 +87,10 @@ my @dirs = (
 
 %top;
 
+my $fipscanisteronly = 0;
+
 foreach (@dirs) {
+       next if ($fipscanisteronly && !(-d $_));
        &files_dir ($_, "Makefile");
 }
 
@@ -138,4 +156,8 @@ if ($dir eq "." && defined($sym{"BUILDENV"}))
 print "RELATIVE_DIRECTORY=\n";
 
 close (IN);
+if ($dir eq "." && $sym{FIPSCANISTERONLY} eq "y")
+       {
+       $fipscanisteronly = 1;
+       }
 }