bss_log.c (238405) | bss_log.c (264278) |
---|---|
1/* crypto/bio/bss_log.c */ 2/* ==================================================================== 3 * Copyright (c) 1999 The OpenSSL Project. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 231 unchanged lines hidden (view full) --- 240 ret=slg_write(bp,str,n); 241 return(ret); 242 } 243 244#if defined(OPENSSL_SYS_WIN32) 245 246static void xopenlog(BIO* bp, char* name, int level) 247{ | 1/* crypto/bio/bss_log.c */ 2/* ==================================================================== 3 * Copyright (c) 1999 The OpenSSL Project. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 231 unchanged lines hidden (view full) --- 240 ret=slg_write(bp,str,n); 241 return(ret); 242 } 243 244#if defined(OPENSSL_SYS_WIN32) 245 246static void xopenlog(BIO* bp, char* name, int level) 247{ |
248 if (GetVersion() < 0x80000000) | 248 if (check_winnt()) |
249 bp->ptr = RegisterEventSourceA(NULL,name); 250 else 251 bp->ptr = NULL; 252} 253 254static void xsyslog(BIO *bp, int priority, const char *string) 255{ 256 LPCSTR lpszStrings[2]; --- 143 unchanged lines hidden --- | 249 bp->ptr = RegisterEventSourceA(NULL,name); 250 else 251 bp->ptr = NULL; 252} 253 254static void xsyslog(BIO *bp, int priority, const char *string) 255{ 256 LPCSTR lpszStrings[2]; --- 143 unchanged lines hidden --- |