summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-05-02 17:11:54 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-05-02 17:11:54 +0000
commit2e2a962aaddd84667c43007dca67acb6a46dc929 (patch)
treedcffe4e394b93695c3dcf231ede606893dd99fd7
parent9243a86d75096200b12ee3fe8de360413347946d (diff)
Fix do_fips script.
-rw-r--r--ms/do_fips.bat10
1 files changed, 5 insertions, 5 deletions
diff --git a/ms/do_fips.bat b/ms/do_fips.bat
index b1611c4710..8071fbe06d 100644
--- a/ms/do_fips.bat
+++ b/ms/do_fips.bat
@@ -22,6 +22,8 @@ echo Processor Architecture Unrecognized: defaulting to X86
echo Auto Configuring for X86
SET TARGET=VC-WIN32
+if x%ASM% == xno-asm goto compile
+SET ASM=nasm
goto compile
@@ -45,6 +47,9 @@ if ERRORLEVEL 1 goto error
ml64 -c -Foms\uptable.obj ms\uptable.asm
if ERRORLEVEL 1 goto error
+if x%ASM% == xno-asm goto compile
+SET ASM=ml64
+
:compile
perl Configure %TARGET% fipscanisteronly
@@ -57,11 +62,6 @@ perl util\mkfiles.pl >MINFO
perl util\mk1mf.pl dll %ASM% %TARGET% >ms\ntdll.mak
@if ERRORLEVEL 1 goto error
-perl util\mkdef.pl 32 libeay > ms\libeay32.def
-@if ERRORLEVEL 1 goto error
-perl util\mkdef.pl 32 ssleay > ms\ssleay32.def
-@if ERRORLEVEL 1 goto error
-
nmake -f ms\ntdll.mak clean
nmake -f ms\ntdll.mak
@if ERRORLEVEL 1 goto error