[openssl-dev] [openssl.org #3692] OpenSSL bug(s) && patch

Cristi Fati via RT rt at openssl.org
Tue Feb 10 13:44:18 UTC 2015


Version: 1.0.2
Platform: Windows x86 (VC-WIN32)
Compiled with: openssl-fips-2.0.5

Hi all,
I browsed the open bug list for a little while, but i didn't find this.

I've got 3 compilation errors on OpenSSL (details above) on Windows 32bit.
I didn't test it yet, but the first 2 errors (*size_t* being undefined
because of include order) will be reproducible at least on other Windows
configurations, while the 3rd one (which i consider a typo) will be
reproducible on all platforms/archs.

I am attaching a patch which applied gave me a working version:

*c:\Work\Fati\WinBuild\openssl\install\openssl_fips\1.0.2\x86\bin>openssl.exe
version -a*
*OpenSSL 1.0.2-fips 22 Jan 2015*
*built on: reproducible build, date unspecified*
*VC-NT*
*options:  bn(64,32) rc4(idx,int) des(idx,cisc,2,long) blowfish(idx)*
*compiler: cl  /MD /Ox /O2 /Ob2 -DOPENSSL_THREADS  -DDSO_WIN32 -W3 -Gs0 -GF
-Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
-D_CRT_SECURE_NO*
*_DEPRECATE -I$(FIPSDIR)/include -DOPENSSL_USE_APPLINK -I.
-DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_MDC2
-DOPENSSL_NO_KRB5 -DOPENSSL_FIPS*
* -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE*
*OPENSSLDIR: "E:\WinOBT\1.0.0.0\openssl_fips\1.0.2\x86"*

*c:\Work\Fati\WinBuild\openssl\install\openssl_fips\1.0.2\x86\bin>openssl.exe
md5 libeay32.dll*
*MD5(libeay32.dll)= 0ffa4263442dd184199b1f293a8105ff*

*c:\Work\Fati\WinBuild\openssl\install\openssl_fips\1.0.2\x86\bin>openssl.exe
SHA1 libeay32.dll*
*SHA1(libeay32.dll)= a930a7c0ecfcdddd8dff2ddd112684fb702e317b*

*c:\Work\Fati\WinBuild\openssl\install\openssl_fips\1.0.2\x86\bin>set
OPENSSL_FIPS=1*

*c:\Work\Fati\WinBuild\openssl\install\openssl_fips\1.0.2\x86\bin>openssl.exe
md5 libeay32.dll*
*Error setting digest md5*
*20680:error:060A80A3:digital envelope routines:FIPS_DIGESTINIT:disabled
for fips:.\fips\utl\fips_md.c:180:*

*c:\Work\Fati\WinBuild\openssl\install\openssl_fips\1.0.2\x86\bin>openssl.exe
SHA1 libeay32.dll*
*SHA1(libeay32.dll)= a930a7c0ecfcdddd8dff2ddd112684fb702e317b*

Regards,
Cristi Fati.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssl-1.0.2-bugs.patch
Type: application/octet-stream
Size: 1497 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20150210/b1da11f6/attachment.obj>


More information about the openssl-dev mailing list