1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-24 18:39:53 +03:00

Update Client.c

Bug
This commit is contained in:
m0zart89 2015-12-21 15:59:42 +02:00
parent d3a1b26413
commit 5d19eba09b

View File

@ -10173,7 +10173,7 @@ BUF *EncryptPassword(char *password)
size = StrLen(password) + 1;
tmp = ZeroMalloc(size);
c = NewCrypt(key, sizeof(key));
c = NewCrypt(key, strlen(key));
Encrypt(c, tmp, password, size - 1);
FreeCrypt(c);