Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
a89a169c
Commit
a89a169c
authored
Sep 13, 2016
by
Mark Haines
Browse files
``if`` is not the same as ``for``
parent
5926a8fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/outbound_group_session.c
View file @
a89a169c
...
...
@@ -338,7 +338,7 @@ size_t olm_outbound_group_session_key(
uint32_t
counter
=
session
->
ratchet
.
counter
;
// Encode counter as a big endian 32-bit number.
i
f
(
unsigned
i
=
0
;
i
<
4
;
i
++
)
{
f
or
(
unsigned
i
=
0
;
i
<
4
;
i
++
)
{
*
ptr
++
=
0xFF
&
(
counter
>>
24
);
counter
<<=
8
;
}
...
...
Write
Preview
Markdown
is supported
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