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
a75a576e
Commit
a75a576e
authored
Jun 05, 2006
by
steven_carr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
All security types for RFB >= 3.7 *have* to respond with a Security Result (Even rfbSecTypeNone)
parent
203eee7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
auth.c
libvncserver/auth.c
+9
-1
No files found.
libvncserver/auth.c
View file @
a75a576e
...
...
@@ -265,7 +265,8 @@ rfbProcessClientSecurityType(rfbClientPtr cl)
int
n
;
uint8_t
chosenType
;
rfbSecurityHandler
*
handler
;
uint32_t
authResult
;
/* Read the security type. */
n
=
rfbReadExact
(
cl
,
(
char
*
)
&
chosenType
,
1
);
if
(
n
<=
0
)
{
...
...
@@ -281,6 +282,13 @@ rfbProcessClientSecurityType(rfbClientPtr cl)
for
(
handler
=
securityHandlers
;
handler
;
handler
=
handler
->
next
)
{
if
(
chosenType
==
handler
->
type
)
{
if
(
chosenType
==
rfbSecTypeNone
)
{
authResult
=
Swap32IfLE
(
rfbVncAuthOK
);
if
(
rfbWriteExact
(
cl
,
(
char
*
)
&
authResult
,
4
)
<
0
)
{
rfbLogPerror
(
"rfbAuthProcessClientMessage: write"
);
rfbCloseClient
(
cl
);
return
;
}
cl
->
state
=
RFB_INITIALISATION
;
return
;
}
else
{
...
...
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