Commit 8c8f4c2c authored by Marcus Comstedt's avatar Marcus Comstedt

Crypt.Password: Fix warning about unused local variable

parent 19c49beb
......@@ -197,7 +197,9 @@ int verify(string(8bit) password, string(7bit) hash)
return 0;
}
#if constant(Nettle.bcrypt_hash)
string(7bit) fullhash = hash;
#endif
// Then try our implementations.
if (!sscanf(hash, "$%s$%s", scheme, hash)) return 0;
sscanf(hash, "%s$%s", string(7bit) salt, hash);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment