Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Tau <raymondtau@gmail.com>2015-11-23 11:15:10 +0300
committerRaymond Tau <raymondtau@gmail.com>2015-11-23 11:15:10 +0300
commit04b72873c79375fc9845e03f1d575d4891ea723f (patch)
tree7dd1418d5c2cd1d0fa05648946729d66a546a184 /src/Cedar/Cedar.h
parent8b1b67faedaac1c84c54874aa50a1e89952915af (diff)
Fix the problem of the DisableSslVersions patch.
Diffstat (limited to 'src/Cedar/Cedar.h')
-rw-r--r--src/Cedar/Cedar.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Cedar/Cedar.h b/src/Cedar/Cedar.h
index 4618c9c5..6bbfd1cc 100644
--- a/src/Cedar/Cedar.h
+++ b/src/Cedar/Cedar.h
@@ -415,8 +415,11 @@
#define NAME_SSL_VERSION_SSL_V2 "SSL_V2" // SSLv2
#define NAME_SSL_VERSION_SSL_V3 "SSL_V3" // SSLv3
#define NAME_SSL_VERSION_TLS_V1_0 "TLS_V1_0" // TLS v1.0
-#define NAME_SSL_VERSION_TLS_V1_0 "TLS_V1_1" // TLS v1.1
-#define NAME_SSL_VERSION_TLS_V1_0 "TLS_V1_2" // TLS v1.2
+#define NAME_SSL_VERSION_TLS_V1_1 "TLS_V1_1" // TLS v1.1
+#define NAME_SSL_VERSION_TLS_V1_2 "TLS_V1_2" // TLS v1.2
+
+// OpenSSL SSL Context Option Flags default
+#define SSL_OPT_DEFAULT 0x0
//////////////////////////////////////////////////////////////////////
//
@@ -1065,7 +1068,7 @@ typedef struct CEDAR
LOCK *FifoBudgetLock; // Fifo budget lock
UINT FifoBudget; // Fifo budget
bool AcceptOnlyTls; // Accept only TLS (Disable SSL)
- UINT DisableSslVersions = 0x0; // Bitmap of SSL Version to disable
+ UINT DisableSslVersions; // Bitmap of SSL Version to disable
char OpenVPNDefaultClientOption[MAX_SIZE]; // OpenVPN Default Client Option String
} CEDAR;