Commit d986f5f4 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Additional fix to PR#659 by racke.

parent 27520b23
......@@ -314,8 +314,8 @@ my %fingerprint_hashes = (
my $fingerprint = Digest::MD5::md5_hex($pwd);
my $match = ($fingerprint eq $salt) ? "yes" : "no";
$log->syslog('debug',
"md5: match $match salt \"$salt\" fingerprint $fingerprint");
$log->syslog('debug', 'md5: match %s salt \"%s\" fingerprint %s',
$match, $salt, $fingerprint);
return $fingerprint;
},
......@@ -347,8 +347,8 @@ my %fingerprint_hashes = (
my $fingerprint = bcrypt($pwd, $salt);
my $match = ($fingerprint eq $salt) ? "yes" : "no";
$log->syslog('debug',
"bcrypt: match $match salt $salt fingerprint $fingerprint");
$log->syslog('debug', 'bcrypt: match %s salt \"%s\" fingerprint %s',
$match, $salt, $fingerprint);
return $fingerprint;
}
......
Supports Markdown
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