summaryrefslogtreecommitdiff
path: root/plugins/OpenSSL/src/stdafx.h
diff options
context:
space:
mode:
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;