From 242d48135a12fc9167430f391ba0d27d9ad44c6b Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 14 Apr 2014 23:15:59 +0200 Subject: Updated openssl to version 1.0.1g --- openssl/crypto/cryptlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openssl/crypto/cryptlib.c') diff --git a/openssl/crypto/cryptlib.c b/openssl/crypto/cryptlib.c index 304c6b706..0b77d8b7d 100644 --- a/openssl/crypto/cryptlib.c +++ b/openssl/crypto/cryptlib.c @@ -889,7 +889,7 @@ void OPENSSL_showfatal (const char *fmta,...) #if defined(_WIN32_WINNT) && _WIN32_WINNT>=0x0333 /* this -------------v--- guards NT-specific calls */ - if (GetVersion() < 0x80000000 && OPENSSL_isservice() > 0) + if (check_winnt() && OPENSSL_isservice() > 0) { HANDLE h = RegisterEventSource(0,_T("OPENSSL")); const TCHAR *pmsg=buf; ReportEvent(h,EVENTLOG_ERROR_TYPE,0,0,0,1,0,&pmsg,0); -- cgit v1.2.3