ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor-crypto/openssl/dist/crypto/cryptlib.c
(Generate patch)

Comparing vendor-crypto/openssl/dist/crypto/cryptlib.c (file contents):
Revision 6968 by laffer1, Sun Oct 12 20:29:54 2014 UTC vs.
Revision 6969 by laffer1, Sat Mar 7 00:07:49 2015 UTC

# Line 512 | Line 512 | void OPENSSL_showfatal (const char *fmta,...)
512  
513   #if defined(_WIN32_WINNT) && _WIN32_WINNT>=0x0333
514      /* this -------------v--- guards NT-specific calls */
515 <    if (GetVersion() < 0x80000000 && OPENSSL_isservice() > 0)
515 >    if (check_winnt() && OPENSSL_isservice() > 0)
516      {   HANDLE h = RegisterEventSource(0,_T("OPENSSL"));
517          const TCHAR *pmsg=buf;
518          ReportEvent(h,EVENTLOG_ERROR_TYPE,0,0,0,1,0,&pmsg,0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines