mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Passwords - a few corrections to the previous commit
This commit is contained in:
parent
d4d49ee8f4
commit
52d857cf15
4 changed files with 38 additions and 5 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue