Hello,
What is the procedure for building a 64-bit FIPS-capable OpenSSL on Windows
from the following latest snapshots:
ftp://ftp.openssl.org/snapshot/openssl-1.0.1-stable-SNAP-20111028.tar.gz
ftp://ftp.openssl.org/snapshot/openssl-fips-2.0-test-20111028.tar.gz
I get the following compilation error:
"Cannot open include file: 'openssl/fips.h'
I am using Visual Studio 2010 x64.
Here are the build details:
C:\> cd openssl-fips-2.0-test-20111028
C:\> ms\do_fips no-asm
...
...
***************************
****FIPS BUILD SUCCESS*****
***************************
C:\> cd openssl-1.0.1-stable-SNAP-20111028
C:\> set FIPSDIR=..\openssl-1.0.1-stable-SNAP-20111028-x64-fips-static
C:\> perl Configure VC-WIN64A fips
--prefix=..\openssl-1.0.1-stable-SNAP-20111028-x64-fips-static no-idea no-mdc2
no-rc5 no-asm
Configuring for VC-WIN64A
...
...
Configured for VC-WIN64A.
C:\> ms\do_win64a
c:\Crypto\Windows\build_openssl_fips_capable\openssl-1.0.1-stable-SNAP-20111028>
perl util\mkfiles.pl 1>MINFO
...
...
c:\Crypto\Windows\build_openssl_fips_capable\openssl-1.0.1-stable-SNAP-20111028>
perl util\mkdef.pl 32 ssleay 1>ms\ssleay32.def
C:\> set FIPSDIR=..\openssl-1.0.1-stable-SNAP-20111028-x64-fips-static
C:\> nmake -f ms\nt.mak
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
Building OpenSSL
perl util/mkdir-p.pl "tmp32"
created directory `tmp32'
perl util/mkdir-p.pl "out32"
...
...
cl /Fotmp32\o_dir.obj -Iinc32 -Itmp32 /MT /Ox -DOPENSSL_THREADS -DDSO_WIN32
-W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
-DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE
-I..\openssl-1.0.1-stable-SNAP-20111028-x64-fips-static/include
-DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_MDC2
-DOPENSSL_NO_KRB5 -DOPENSSL_FIPS -DOPENSSL_NO_JPAKE -DOPENSSL_NO_DYNAMIC_ENGINE
/Zl /Zi /Fdtmp32/lib -c .\crypto\o_dir.c
o_dir.c
...
...
cl /Fotmp32\o_fips.obj -Iinc32 -Itmp32 /MT /Ox -DOPENSSL_THREADS -DDSO_WIN32
-W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
-DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE
-I..\openssl-1.0.1-stable-SNAP-20111028-x64-fips-static/include
-DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO
_MD2 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 -DOPENSSL_FIPS -DOPENSSL_NO_JPAKE -DOPE
NSSL_NO_DYNAMIC_ENGINE /Zl /Zi /Fdtmp32/lib -c .\crypto\o_fips.c
o_fips.c.\crypto\o_fips.c(60) : fatal error C1083: Cannot open include file:
'openssl/fips.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
Thanks,
Bill
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]