Commit 891171c1 authored by Niels Möller's avatar Niels Möller
Browse files

Pass an advertised_methods list to the userauth service.

Rev: src/lshd.c:1.18
parent 76697798
......@@ -136,6 +136,8 @@ int main(int argc, char **argv)
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. */
setlocale(LC_CTYPE, "");
......@@ -195,7 +197,8 @@ int main(int argc, char **argv)
(make_alist(1, ATOM_PASSWORD,
make_alist(1, ATOM_PASSWORD,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment