1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-06-28 03:45:08 +03:00
This commit is contained in:
m0zart89 2018-02-06 02:45:47 +00:00 committed by GitHub
commit f003d4d06b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10175,7 +10175,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);