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
891171c1
Commit
891171c1
authored
Nov 03, 1998
by
Niels Möller
Browse files
Pass an advertised_methods list to the userauth service.
Rev: src/lshd.c:1.18
parent
76697798
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lshd.c
View file @
891171c1
...
...
@@ -135,6 +135,8 @@ int main(int argc, char **argv)
struct
alist
*
algorithms
;
struct
make_kexinit
*
make_kexinit
;
struct
packet_handler
*
kexinit_handler
;
int
advertised_methods
[]
=
{
ATOM_PASSWORD
,
-
1
};
/* For filtering messages. Could perhaps also be used when converting
* strings to and from UTF8. */
...
...
@@ -195,7 +197,8 @@ int main(int argc, char **argv)
(
make_alist
(
1
,
ATOM_SSH_USERAUTH
,
make_userauth_service
(
make_alist
(
1
,
ATOM_PASSWORD
,
(
advertised_methods
,
make_alist
(
1
,
ATOM_PASSWORD
,
make_unix_userauth
(
make_alist
(
1
,
ATOM_SSH_CONNECTION
,
...
...
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