Hi,
I have am trying to compile OpenSSL 1.0.2l static library using FIPS - 2.0.16 
on Windows 2012 R2, Visual Studio 2015,  using reference from 
https://www.openssl.org/docs/fips/UserGuide-2.0.pdf , page #68.
Step 1:
- cd openssl-fips-2.0.16
- ms\do_fips
Step 2:
- cd openssl-1.0.2l
- set FIPSDIR=C:\usr\local\ssl\fips-2.0
- perl Configure       VC-WIN64A fips --with-fipsdir=%FIPSDIR% no-shared zlib 
no-idea no-mdc2 no-rc5 no-ssl2 no-ssl3
- nmake -f ms\nt.mak all

I see that ms\do_fips compile the code with /MD, and somehow step 2 (nmake -f 
ms\nt.mak all) also ends up compiling with /MD switch. The application now 
requires the dynamic runt time libraries and compile and run time. OpenSSL 
static libraries builds fine with /MT switch without FIPS module, so there's 
something with FIPS module that ends up setting /MD switch.
Has anyone else faced this problem? As per user guide, the FIPS module should 
build fine with static libraries, but looks like there is some issue with it. 
Is there any option that can be supplied to do_fips.bat, or a different build 
script that needs to be run?
Appreciate any help on this.
Thanks,NG  
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to