From 483e9e22eb387be7fb726a25a7738638aa81b610 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Jul 2016 09:07:46 +0000 Subject: compilation fix for VS2015.3 git-svn-id: http://svn.miranda-ng.org/main/trunk@17139 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/OpenSSL/src/main.cpp | 3 +-- plugins/OpenSSL/src/stdafx.h | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/OpenSSL') diff --git a/plugins/OpenSSL/src/main.cpp b/plugins/OpenSSL/src/main.cpp index 5f0eeaabca..e823e37161 100644 --- a/plugins/OpenSSL/src/main.cpp +++ b/plugins/OpenSSL/src/main.cpp @@ -29,8 +29,7 @@ HMODULE g_hWinCrypt; FARPROC WINAPI delayHook(unsigned dliNotify, PDelayLoadInfo dli) { - switch (dliNotify) - { + switch (dliNotify) { case dliNotePreLoadLibrary: if (!strcmpi(dli->szDll, "libeay32.dll")) return (FARPROC)g_hOpenSSLCrypto; diff --git a/plugins/OpenSSL/src/stdafx.h b/plugins/OpenSSL/src/stdafx.h index 966baded3b..15baf87a7c 100644 --- a/plugins/OpenSSL/src/stdafx.h +++ b/plugins/OpenSSL/src/stdafx.h @@ -28,9 +28,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. typedef struct SslHandle *HSSL; #include -#include #include +#define DELAYIMP_INSECURE_WRITABLE_HOOKS +#include + #include #include #include -- cgit v1.2.3