Don't include OpenSSL headers in vpndrvinst.c

The inclusion of the headers is probably a very old leftover, from when OpenSSL was not encapsulated into Mayaqua yet.

In fact, there was a "HAM_C" (defined in vpndrvinst.c) definition check in Mayaqua/Encrypt.h preventing the redefinition of OpenSSL types.
This commit is contained in:
Davide Beatrici committed 2020-07-27 20:59:40 +02:00
1 parent 2cdffffa54
commit 755e09e5c1
2 files changed
+1 -14

No files matched your search

-13
View File
@@ -4,8 +4,6 @@
#include <GlobalConst.h>
#define HAM_C
#ifdef WIN32
#define HAM_WIN32
#define _WIN32_WINNT 0x0502
@@ -27,17 +25,6 @@
#include <time.h>
#include <errno.h>
#include <math.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#include <openssl/engine.h>
#include <openssl/bio.h>
#include <openssl/x509.h>
#include <openssl/pkcs7.h>
#include <openssl/pkcs12.h>
#include <openssl/rc4.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
#include <Mayaqua/Mayaqua.h>
#include <Cedar/Cedar.h>
#include "vpndrvinst.h"