Hi everyone.
Is it possible to compile a fips certified version of OpenSSL (using
OpenSSL-fips-1.0.tar.gz) under Windows?
I tried following the instructions in INSTALL.W32, and the result is in the
attached text file.
The same error
***FIPS module directory sanity check failed***
FIPS module build failed, or was deleted
Please rebuild FIPS module.
is shown even if I try "ms\do_masm".
I'm using Visual Studio 6 SP5, and perl from cygwin
This is perl, v5.8.7 built for cygwin-thread-multi-64int
(with 1 registered patch, see perl -V for more detail)
I also tried openssl-0.9.7i.tar.gz (fips compilation), and it compiled ok.
Have a nice day
GV
D:\cvsroot\openssl>"c:\Program Files\Microsoft Visual
Studio\VC98\Bin\VCVARS32.BAT"
Setting environment for using Microsoft Visual C++ tools.
D:\cvsroot\openssl>perl Configure VC-WIN32 fips
Configuring for VC-WIN32
IsWindows=1
CC =cl
CFLAG =-DOPENSSL_SYSNAME_WIN32 -DOPENSSL_THREADS -DDSO_WIN32 -DOPENSSL_
NO_KRB5
EX_LIBS =
BN_ASM =bn_asm.o
DES_ENC =des_enc.o fcrypt_b.o
BF_ENC =bf_enc.o
CAST_ENC =c_enc.o
RC4_ENC =rc4_enc.o
RC5_ENC =rc5_enc.o
MD5_OBJ_ASM =
SHA1_OBJ_ASM =
RMD160_OBJ_ASM=
PROCESSOR =
RANLIB =/usr/bin/ranlib
ARFLAGS =
PERL =/usr/bin/perl
THIRTY_TWO_BIT mode
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
Configured for VC-WIN32.
D:\cvsroot\openssl>ms\do_ms.bat
D:\cvsroot\openssl>perl util\mkfiles.pl 1>MINFO
D:\cvsroot\openssl>rem perl util\mk1mf.pl no-sock VC-MSDOS >ms\msdos.mak
D:\cvsroot\openssl>rem perl util\mk1mf.pl VC-W31-32 >ms\w31.mak
D:\cvsroot\openssl>rem perl util\mk1mf.pl dll VC-W31-32 >ms\w31dll.mak
D:\cvsroot\openssl>perl util\mk1mf.pl no-asm VC-WIN32 1>ms\nt.mak
***FIPS module directory sanity check failed***
FIPS module build failed, or was deleted
Please rebuild FIPS module.
D:\cvsroot\openssl>perl util\mk1mf.pl dll no-asm VC-WIN32 1>ms\ntdll.mak
***FIPS module directory sanity check failed***
FIPS module build failed, or was deleted
Please rebuild FIPS module.
D:\cvsroot\openssl>perl util\mk1mf.pl no-asm VC-CE 1>ms\ce.mak
***FIPS module directory sanity check failed***
FIPS module build failed, or was deleted
Please rebuild FIPS module.
D:\cvsroot\openssl>perl util\mk1mf.pl dll no-asm VC-CE 1>ms\cedll.mak
***FIPS module directory sanity check failed***
FIPS module build failed, or was deleted
Please rebuild FIPS module.
D:\cvsroot\openssl>perl util\mkdef.pl 16 libeay 1>ms\libeay16.def
D:\cvsroot\openssl>perl util\mkdef.pl 32 libeay 1>ms\libeay32.def
D:\cvsroot\openssl>perl util\mkdef.pl 16 ssleay 1>ms\ssleay16.def
D:\cvsroot\openssl>perl util\mkdef.pl 32 ssleay 1>ms\ssleay32.def