Trivial patch to avoid this windows build failure;
ms\uplink.c(43) : error C2220: warning treated as error - no 'object' file 
generated
ms\uplink.c(43) : warning C4996: '_swprintf': swprintf has been changed to 
conform with
the ISO C standard, adding an extra character count parameter. To use 
traditional
Microsoft swprintf, set _CRT_NON_CONFORMING_SWPRINTFS.

The fix simply uses an unambiguous entry point;
diff -r ms\uplink.c ms\uplink.c
43c43,44
<       len = _stprintf (msg,_T("OPENSSL_Uplink(%p,%02X): "),table,index);
---
>       len = _sntprintf (msg,sizeof(msg)/sizeof(TCHAR),
>                         _T("OPENSSL_Uplink(%p,%02X): "),table,index);

This is already corrected in openssl1.0.1-beta2 but not the just-released 0.9.8t
(and I hadn't looked at 1.0.0 release).
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to