summaryrefslogtreecommitdiffstats
path: root/crypto/cryptlib.c
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2010-02-28 18:49:43 +0000
committersimon <simon@FreeBSD.org>2010-02-28 18:49:43 +0000
commitcdb6eef1f013e22a10ab5f5829dcdc3b5e32d385 (patch)
tree21770f10e7f26d05fc9b0fa96a7b6d7b107552c5 /crypto/cryptlib.c
parent3bc8c7595d6f805f614ed860868465e3c1d3ee2b (diff)
downloadFreeBSD-src-cdb6eef1f013e22a10ab5f5829dcdc3b5e32d385.zip
FreeBSD-src-cdb6eef1f013e22a10ab5f5829dcdc3b5e32d385.tar.gz
Import OpenSSL 0.9.8m.
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r--crypto/cryptlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 8f9e88e..497d003 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -513,7 +513,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())
+ if (GetVersion() < 0x80000000 && 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);
OpenPOWER on IntegriCloud