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:
authordnobori <da.git@softether.co.jp>2014-10-22 20:00:30 +0400
committerdnobori <da.git@softether.co.jp>2014-10-22 20:00:30 +0400
commit2b3a4d0b757e3c46f175c0a0df66a84ffbe2b39c (patch)
tree10506fa43d54b301f0dc4ee70121c6250a43a4a4 /src/Cedar/Connection.c
parent10d4b2c43ddc9fcc2f318c76e3d66f11ef383fad (diff)
v4.11-9506-beta
Diffstat (limited to 'src/Cedar/Connection.c')
-rw-r--r--src/Cedar/Connection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Cedar/Connection.c b/src/Cedar/Connection.c
index 51075c8b..b67c7235 100644
--- a/src/Cedar/Connection.c
+++ b/src/Cedar/Connection.c
@@ -3137,6 +3137,10 @@ void ConnectionAccept(CONNECTION *c)
// Start the SSL communication
Debug("StartSSL()\n");
+ if (c->Cedar->AcceptOnlyTls)
+ {
+ s->AcceptOnlyTls = true;
+ }
if (StartSSL(s, x, k) == false)
{
// Failed