Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
d986f5f4
Commit
d986f5f4
authored
Jun 19, 2019
by
IKEDA Soji
Browse files
Additional fix to PR#659 by racke.
parent
27520b23
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/User.pm
View file @
d986f5f4
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment