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
fusiondirectory
constant_time_encoding
Commits
817e88a6
Unverified
Commit
817e88a6
authored
2 years ago
by
P.I.E. Security Team
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #41 from TimWolla/backslash
Add missing backslash in front of `pack()` call
parents
292fe138
43af96c2
master
v2.6.3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Hex.php
+2
-2
src/Hex.php
with
2 additions
and
2 deletions
+2
-2
src/Hex.php
+
2
−
2
View file @
817e88a6
...
...
@@ -49,7 +49,7 @@ abstract class Hex implements EncoderInterface
$c
=
$chunk
[
1
]
&
0xf
;
$b
=
$chunk
[
1
]
>>
4
;
$hex
.
=
pack
(
$hex
.
=
\
pack
(
'CC'
,
(
87
+
$b
+
(((
$b
-
10
)
>>
8
)
&
~
38
)),
(
87
+
$c
+
(((
$c
-
10
)
>>
8
)
&
~
38
))
...
...
@@ -77,7 +77,7 @@ abstract class Hex implements EncoderInterface
$c
=
$chunk
[
1
]
&
0xf
;
$b
=
$chunk
[
1
]
>>
4
;
$hex
.
=
pack
(
$hex
.
=
\
pack
(
'CC'
,
(
55
+
$b
+
(((
$b
-
10
)
>>
8
)
&
~
6
)),
(
55
+
$c
+
(((
$c
-
10
)
>>
8
)
&
~
6
))
...
...
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