Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
ae5a205c
Commit
ae5a205c
authored
Oct 28, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crc code
parent
7def93cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
stun/stun3489bis.c
stun/stun3489bis.c
+1
-1
stun/stuncrc32.c
stun/stuncrc32.c
+1
-1
No files found.
stun/stun3489bis.c
View file @
ae5a205c
...
...
@@ -61,7 +61,7 @@ uint32_t stun_fingerprint (const uint8_t *msg, size_t len)
data
[
0
].
buf
=
(
void
*
)
msg
;
data
[
0
].
len
=
2
;
data
[
1
].
buf
=
&
fakelen
;
data
[
1
].
buf
=
(
uint8_t
*
)
&
fakelen
;
data
[
1
].
len
=
2
;
data
[
2
].
buf
=
(
void
*
)(
msg
+
4
);
/* first 4 bytes done, last 8 bytes not summed */
...
...
stun/stuncrc32.c
View file @
ae5a205c
...
...
@@ -137,7 +137,7 @@ static const uint32_t crc32_tab[] = {
};
uint32_t
crc32
(
const
crc_data
data
,
size_t
n
)
uint32_t
crc32
(
const
crc_data
*
data
,
size_t
n
)
{
size_t
i
;
uint32_t
crc
=
0xffffffff
;
...
...
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