Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
forks
namshi
jose
Commits
a55a98d7
Commit
a55a98d7
authored
9 years ago
by
cirpo
Browse files
Options
Download
Patches
Plain Diff
added missing second parameter to mb_strlen call in timingSafeEquals
parent
48333148
master
b6.1.1
b7.0.0
b7.1.0
b7.2.0
b7.2.1
b7.2.2
b7.2.3
fix-mbstrlen
r611
7.2.3
7.2.2
7.2.1
7.2.0
7.1.0
7.0.0
6.1.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Namshi/JOSE/Signer/OpenSSL/HMAC.php
+1
-1
src/Namshi/JOSE/Signer/OpenSSL/HMAC.php
with
1 addition
and
1 deletion
+1
-1
src/Namshi/JOSE/Signer/OpenSSL/HMAC.php
+
1
−
1
View file @
a55a98d7
...
...
@@ -53,7 +53,7 @@ abstract class HMAC implements SignerInterface
if
(
\
function_exists
(
'mb_strlen'
))
{
$knownLength
=
\
mb_strlen
(
$known
,
'8bit'
);
$inputLength
=
\
mb_strlen
(
$input
);
$inputLength
=
\
mb_strlen
(
$input
,
'8bit'
);
}
$result
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets