projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix return checks in GOST engine
[openssl.git]
/
util
/
mkfiles.pl
diff --git
a/util/mkfiles.pl
b/util/mkfiles.pl
index 823676c60bf9809e16593833d1b4ceaba140be29..a81434b2cf5d12006297761e7ff3c08e86d68816 100755
(executable)
--- a/
util/mkfiles.pl
+++ b/
util/mkfiles.pl
@@
-26,6
+26,8
@@
my @dirs = (
"crypto/aes",
"crypto/camellia",
"crypto/seed",
"crypto/aes",
"crypto/camellia",
"crypto/seed",
+"crypto/modes",
+"crypto/cmac",
"crypto/bn",
"crypto/rsa",
"crypto/dsa",
"crypto/bn",
"crypto/rsa",
"crypto/dsa",
@@
-46,7
+48,9
@@
my @dirs = (
"crypto/pem",
"crypto/x509",
"crypto/x509v3",
"crypto/pem",
"crypto/x509",
"crypto/x509v3",
+"crypto/cms",
"crypto/conf",
"crypto/conf",
+"crypto/jpake",
"crypto/txt_db",
"crypto/pkcs7",
"crypto/pkcs12",
"crypto/txt_db",
"crypto/pkcs7",
"crypto/pkcs12",
@@
-55,10
+59,11
@@
my @dirs = (
"crypto/ocsp",
"crypto/ui",
"crypto/krb5",
"crypto/ocsp",
"crypto/ui",
"crypto/krb5",
-"crypto/store",
+
#
"crypto/store",
"crypto/pqueue",
"crypto/whrlpool",
"crypto/ts",
"crypto/pqueue",
"crypto/whrlpool",
"crypto/ts",
+"crypto/srp",
"ssl",
"apps",
"engines",
"ssl",
"apps",
"engines",
@@
-69,7
+74,10
@@
my @dirs = (
%top;
%top;
+my $fipscanisteronly = 0;
+
foreach (@dirs) {
foreach (@dirs) {
+ next if ($fipscanisteronly && !(-d $_));
&files_dir ($_, "Makefile");
}
&files_dir ($_, "Makefile");
}
@@
-89,7
+97,7
@@
while (<IN>)
{
chop;
s/#.*//;
{
chop;
s/#.*//;
- if (/^(
\S
+)\s*=\s*(.*)$/)
+ if (/^(
[^\s=]
+)\s*=\s*(.*)$/)
{
$o="";
($s,$b)=($1,$2);
{
$o="";
($s,$b)=($1,$2);
@@
-135,4
+143,8
@@
if ($dir eq "." && defined($sym{"BUILDENV"}))
print "RELATIVE_DIRECTORY=\n";
close (IN);
print "RELATIVE_DIRECTORY=\n";
close (IN);
+if ($dir eq "." && $sym{FIPSCANISTERONLY} eq "y")
+ {
+ $fipscanisteronly = 1;
+ }
}
}