On Fri, Oct 28, 2011, Bill Durant wrote:

> 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
> 

You need to set FIPSDIR before the call to ms\do_fips

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to