1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

Passwords - a few corrections to the previous commit

This commit is contained in:
Ciaran Gultnieks
2011-05-20 21:37:13 +01:00
parent d4d49ee8f4
commit 52d857cf15
4 changed files with 38 additions and 5 deletions

View File

@@ -1448,6 +1448,7 @@ int main(int argc, char *argv[])
sha1->addBytes(slt.c_str(), slt.length());
unsigned char *digest = sha1->getDigest();
password = base64_encode(digest, 20);
free(digest);
}
else
{