Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
170033a9
Commit
170033a9
authored
Sep 20, 2011
by
Gernot Tenchio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rfbcrypto_included: fix c&p errors
parent
d4cfc260
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rfbcrypto_included.c
libvncserver/rfbcrypto_included.c
+3
-3
No files found.
libvncserver/rfbcrypto_included.c
View file @
170033a9
...
@@ -28,12 +28,12 @@
...
@@ -28,12 +28,12 @@
void
digestmd5
(
const
struct
iovec
*
iov
,
int
iovcnt
,
void
*
dest
)
void
digestmd5
(
const
struct
iovec
*
iov
,
int
iovcnt
,
void
*
dest
)
{
{
md5_context
c
;
struct
md5_ctx
c
;
int
i
;
int
i
;
__md5_init_ctx
(
&
c
);
__md5_init_ctx
(
&
c
);
for
(
i
=
0
;
i
<
iovcnt
;
i
++
)
for
(
i
=
0
;
i
<
iovcnt
;
i
++
)
__md5_process_bytes
(
&
c
,
iov
[
i
].
iov_base
,
iov
[
i
].
iov_len
);
__md5_process_bytes
(
iov
[
i
].
iov_base
,
iov
[
i
].
iov_len
,
&
c
);
__md5_finish_ctx
(
&
c
,
dest
);
__md5_finish_ctx
(
&
c
,
dest
);
}
}
...
@@ -41,7 +41,7 @@ void digestsha1(const struct iovec *iov, int iovcnt, void *dest)
...
@@ -41,7 +41,7 @@ void digestsha1(const struct iovec *iov, int iovcnt, void *dest)
{
{
SHA1Context
c
;
SHA1Context
c
;
int
i
;
int
i
;
SHA1Reset
(
&
c
);
SHA1Reset
(
&
c
);
for
(
i
=
0
;
i
<
iovcnt
;
i
++
)
for
(
i
=
0
;
i
<
iovcnt
;
i
++
)
SHA1Input
(
&
c
,
iov
[
i
].
iov_base
,
iov
[
i
].
iov_len
);
SHA1Input
(
&
c
,
iov
[
i
].
iov_base
,
iov
[
i
].
iov_len
);
...
...
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