Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jon Turney
xserver
Commits
a0269727
Commit
a0269727
authored
Mar 16, 2015
by
Jon Turney
Committed by
Adam Jackson
Jul 23, 2019
Browse files
Clarify authorization failure reason strings sent back to the client
parent
c1703cdf
Pipeline
#50755
passed with stages
in 5 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
os/auth.c
View file @
a0269727
...
...
@@ -215,11 +215,11 @@ CheckAuthorization(unsigned int name_length,
return
(
*
protocols
[
i
].
Check
)
(
data_length
,
data
,
client
,
reason
);
}
*
reason
=
"
P
rotocol not supported by server
\n
"
;
*
reason
=
"
Authorization p
rotocol not supported by server
\n
"
;
}
}
else
*
reason
=
"
No
protocol specified
\n
"
;
*
reason
=
"
Authorization required, but no authorization
protocol specified
\n
"
;
return
(
XID
)
~
0L
;
}
...
...
Write
Preview
Supports
Markdown
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