# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |