summaryrefslogtreecommitdiff
path: root/plugins/OpenSSL/src/stdafx.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-03-26 12:10:30 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-03-26 12:10:30 +0000
commit81eb3209fdc7cba7a125ac6daacc893e93f22d2b (patch)
tree5281a4e5d3d5090e64d251e977e807c92fe1ba72 /plugins/OpenSSL/src/stdafx.h
parent6a47baae2e0b0e0e2658b5e758901d25bd0cf488 (diff)
OpenSSL: code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@16546 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/OpenSSL/src/stdafx.h')
-rw-r--r--plugins/OpenSSL/src/stdafx.h52
1 files changed, 14 insertions, 38 deletions
diff --git a/plugins/OpenSSL/src/stdafx.h b/plugins/OpenSSL/src/stdafx.h
index 35838e54a9..794cb197f3 100644
--- a/plugins/OpenSSL/src/stdafx.h
+++ b/plugins/OpenSSL/src/stdafx.h
@@ -22,53 +22,29 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <tchar.h>
-#include <winsock2.h>
-#include <shlobj.h>
-#include <commctrl.h>
-#include <vssym32.h>
+#define SECURITY_WIN32
+#define HSSL_DEFINED
-#include <stdio.h>
-#include <time.h>
-#include <stddef.h>
-#include <process.h>
-#include <io.h>
-#include <limits.h>
-#include <string.h>
-#include <locale.h>
-#include <direct.h>
-#include <malloc.h>
+typedef struct SslHandle *HSSL;
-#include <win2k.h>
+#include <tchar.h>
+#include <shlobj.h>
+#include <delayimp.h>
+#include <security.h>
-#include <m_system.h>
-#include <m_system_cpp.h>
-#include <m_core.h>
#include <newpluginapi.h>
-#include <m_utils.h>
#include <m_netlib.h>
#include <m_langpack.h>
-#include <m_button.h>
-#include <m_protosvc.h>
-#include <m_protocols.h>
-#include <m_options.h>
-#include <m_skin.h>
-#include <m_contacts.h>
-#include <m_message.h>
-#include <m_userinfo.h>
-#include <m_findadd.h>
-#include <m_ignore.h>
-#include <m_icolib.h>
-#include <m_modernopt.h>
-#include <m_timezones.h>
#include <m_string.h>
+#include <m_ssl.h>
-#include "version.h"
+#include <openssl\ssl.h>
+#include <openssl\rand.h>
-#define HSSL_DEFINED
-typedef struct SslHandle *HSSL;
+#include "version.h"
-#include "m_ssl.h"
-#include "m_netlib.h"
+extern HMODULE g_hOpenSSL;
+extern HMODULE g_hOpenSSLCrypto;
+extern HMODULE g_hWinCrypt;
extern HINSTANCE hInst;