1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2026-04-25 16:29:27 +03:00

Update Client.c

Bug
This commit is contained in:
m0zart89
2015-12-21 15:59:42 +02:00
parent d3a1b26413
commit 5d19eba09b
+1 -1
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);