Commit 4fdb596d authored by Niels Möller's avatar Niels Möller
Browse files

* src/lshd.c (main): Changed invocation of read_spki_key_file.

Rev: src/lshd.c:1.75
parent f9d7a326
......@@ -381,7 +381,9 @@ int main(int argc, char **argv)
/* Read the hostkey */
keys = make_alist(0, -1);
if (!(hostkey = read_spki_key_file(options->hostkey, r, &ignore_exception_handler)))
if (!(hostkey = read_spki_key_file(options->hostkey,
make_alist(1, ATOM_DSA, make_dsa_algorithm(r), -1),
&ignore_exception_handler)))
{
werror("lshd: Could not read hostkey.\n");
return EXIT_FAILURE;
......
Markdown is supported
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