mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 02:49:52 +03:00
Update Client.c
Bug
This commit is contained in:
parent
d3a1b26413
commit
5d19eba09b
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user