diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-28 09:07:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-28 09:07:46 +0000 |
commit | 483e9e22eb387be7fb726a25a7738638aa81b610 (patch) | |
tree | 5266dc6bc9f413cd40314d449327ca6de4304242 /plugins/OpenSSL/src | |
parent | 2f261839b60692e33d0e160344d0d636d49c90ba (diff) |
compilation fix for VS2015.3
git-svn-id: http://svn.miranda-ng.org/main/trunk@17139 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/OpenSSL/src')
-rw-r--r-- | plugins/OpenSSL/src/main.cpp | 3 | ||||
-rw-r--r-- | plugins/OpenSSL/src/stdafx.h | 4 |
2 files changed, 4 insertions, 3 deletions
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 <shlobj.h> -#include <delayimp.h> #include <security.h> +#define DELAYIMP_INSECURE_WRITABLE_HOOKS
+#include <delayimp.h> + #include <newpluginapi.h> #include <m_netlib.h> #include <m_langpack.h> |