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
LSH
lsh
Commits
0c80cf24
Commit
0c80cf24
authored
Oct 20, 1998
by
Niels Möller
Browse files
Ignore userauth messages that arrives after that user authentication
is complete. Rev: src/server_userauth.c:1.3
parent
e141093c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/server_userauth.c
View file @
0c80cf24
...
...
@@ -86,8 +86,12 @@ static int do_handle_user_auth(struct packet_handler *c,
{
if
(
service
&&
SERVICE_INIT
(
service
,
connection
))
/* Access granted */
{
/* Access granted */
/* Ignore any further userauth messages. */
connection
->
dispatch
[
SSH_MSG_USERAUTH_REQUEST
]
=
connection
->
ignore
;
return
A_WRITE
(
connection
->
write
,
format_userauth_success
());
}
else
return
attempts
?
A_WRITE
(
connection
->
write
,
...
...
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