summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/util/pl/Mingw32.pl
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2005-02-25 05:39:05 +0000
committernectar <nectar@FreeBSD.org>2005-02-25 05:39:05 +0000
commit78a59572b356f941f9bcb853dafb34829ec8e576 (patch)
tree4a7be4ade5df61ca3631c0937c1fc399944ea1cc /crypto/openssl/util/pl/Mingw32.pl
parenta55ec1447ad1b73694515ed74d03a045fdf79313 (diff)
downloadFreeBSD-src-78a59572b356f941f9bcb853dafb34829ec8e576.zip
FreeBSD-src-78a59572b356f941f9bcb853dafb34829ec8e576.tar.gz
Vendor import of OpenSSL 0.9.7e.
Diffstat (limited to 'crypto/openssl/util/pl/Mingw32.pl')
-rw-r--r--crypto/openssl/util/pl/Mingw32.pl11
1 files changed, 8 insertions, 3 deletions
diff --git a/crypto/openssl/util/pl/Mingw32.pl b/crypto/openssl/util/pl/Mingw32.pl
index 4bee638..b9bb24d 100644
--- a/crypto/openssl/util/pl/Mingw32.pl
+++ b/crypto/openssl/util/pl/Mingw32.pl
@@ -21,7 +21,7 @@ if ($debug)
else
{ $cflags="-DL_ENDIAN -DDSO_WIN32 -fomit-frame-pointer -O3 -mcpu=i486 -Wall"; }
-if ($gaswin and !$no_asm)
+if ($gaswin and !$no_asm and !$fips)
{
$bn_asm_obj='$(OBJ_D)\bn-win32.o';
$bn_asm_src='crypto/bn/asm/bn-win32.s';
@@ -92,13 +92,18 @@ sub do_lib_rule
sub do_link_rule
{
- local($target,$files,$dep_libs,$libs)=@_;
+ local($target,$files,$dep_libs,$libs,$sha1file,$openssl)=@_;
local($ret,$_);
$file =~ s/\//$o/g if $o ne '/';
$n=&bname($target);
$ret.="$target: $files $dep_libs\n";
- $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n";
+ $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n";
+ if (defined $sha1file)
+ {
+ $ret.="\t$openssl sha1 -hmac etaonrishdlcupfm -binary $target > $sha1file";
+ }
+ $ret.="\n";
return($ret);
}
1;
OpenPOWER on IntegriCloud