This commit is contained in:
Pliable Pixels
2019-05-04 15:27:00 -04:00
parent 983e050fd7
commit 4c8d20db64

View File

@@ -41,7 +41,7 @@ bool verifyPassword(const char *username, const char *input_password, const char
//2nd iteration
SHA1_Init(&ctx2);
SHA1_Update(&ctx2, digest_interim,SHA_DIGEST_LENGTH);
SHA1_Final (digest_final, &ctx2)
SHA1_Final (digest_final, &ctx2);
char final_hash[SHA_DIGEST_LENGTH * 2 +2];
final_hash[0]='*';