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
57c524df
Commit
57c524df
authored
Jan 02, 2015
by
Christian Beier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #51 from maxnet/master
Initialize libgcrypt before use
parents
108c26fd
4674d463
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
rfbproto.c
libvncclient/rfbproto.c
+10
-0
No files found.
libvncclient/rfbproto.c
View file @
57c524df
...
...
@@ -857,6 +857,16 @@ HandleARDAuth(rfbClient *client)
rfbCredential
*
cred
=
NULL
;
rfbBool
result
=
FALSE
;
if
(
!
gcry_control
(
GCRYCTL_INITIALIZATION_FINISHED_P
))
{
/* Application did not initialize gcrypt, so we should */
if
(
!
gcry_check_version
(
GCRYPT_VERSION
))
{
/* Older version of libgcrypt is installed on system than compiled against */
rfbClientLog
(
"libgcrypt version mismatch.
\n
"
);
}
}
while
(
1
)
{
if
(
!
ReadFromRFBServer
(
client
,
(
char
*
)
gen
,
2
))
...
...
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