1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 00:04:57 +03:00

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
2020-07-27 03:54:14 +02:00
parent 2cdffffa54
commit 755e09e5c1
2 changed files with 1 additions and 14 deletions

View File

@ -16,7 +16,7 @@
#endif // WINDOWS_H
#if !defined(ENCRYPT_C) && !defined(HAM_C)
#if !defined(ENCRYPT_C)
// Structure which is used by OpenSSL
typedef struct x509_st X509;
typedef struct evp_pkey_st EVP_PKEY;