Skip to content
Snippets Groups Projects
Commit 1560c61f authored by Ryan Tandy's avatar Ryan Tandy Committed by Howard Chu
Browse files

ITS#7869 fix do_phk_hash arguments

parent 3102cbbd
Branches
Tags
No related merge requests found
......@@ -143,7 +143,7 @@ static int chk_phk(
salt.bv_val = (char *) &orig_pass[sizeof(digest)];
salt.bv_len = rc - sizeof(digest);
do_phk_hash(cred, magic, &salt, digest);
do_phk_hash(cred, &salt, magic, digest);
if (text)
*text = NULL;
......@@ -197,7 +197,7 @@ static int hash_phk(
for (n = 0; n < salt.bv_len; n++)
salt.bv_val[n] = apr64[salt.bv_val[n] % (sizeof(apr64) - 1)];
do_phk_hash(passwd, magic, &salt, digest_buf);
do_phk_hash(passwd, &salt, magic, digest_buf);
if (text)
*text = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment