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:
Diffstat (limited to 'src/Cedar/Connection.c')
-rw-r--r--src/Cedar/Connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Cedar/Connection.c b/src/Cedar/Connection.c
index c5c5ca3a..6bbf651f 100644
--- a/src/Cedar/Connection.c
+++ b/src/Cedar/Connection.c
@@ -3140,8 +3140,8 @@ void ConnectionAccept(CONNECTION *c)
SetWantToUseCipher(s, c->Cedar->CipherList);
}
- x = CloneX(c->Cedar->ServerX);
- k = CloneK(c->Cedar->ServerK);
+ x = CloneXFast(c->Cedar->ServerX);
+ k = CloneKFast(c->Cedar->ServerK);
}
Unlock(c->Cedar->lock);
@@ -3591,7 +3591,7 @@ CONNECTION *NewServerConnection(CEDAR *cedar, SOCK *s, THREAD *t)
if (s != NULL && s->RemoteX != NULL)
{
- c->ServerX = CloneX(s->RemoteX);
+ c->ServerX = CloneXFast(s->RemoteX);
}
if (s != NULL && s->Type == SOCK_INPROC)