Commit 5bfb9f06 authored by Niels Möller's avatar Niels Möller
Browse files

(do_authenticate): Include algorithm atom

in "Unknown publickey algorithm"-message.

Rev: src/server_publickey.c:1.20
parent 1915a55b
......@@ -47,7 +47,8 @@
(verifiers object alist)))
*/
static struct lsh_string *format_userauth_pk_ok(int algorithm, struct lsh_string *keyblob)
static struct lsh_string *
format_userauth_pk_ok(int algorithm, struct lsh_string *keyblob)
{
return ssh_format("%c%a%S", SSH_MSG_USERAUTH_PK_OK,
algorithm, keyblob);
......@@ -103,7 +104,7 @@ do_authenticate(struct userauth *s,
= STATIC_EXCEPTION(EXC_USERAUTH,
"Unsupported public key algorithm.");
verbose("Unknown publickey algorithm\n");
verbose("Unknown publickey algorithm %a\n", algorithm);
EXCEPTION_RAISE(e, &unsupported_publickey_algorithm);
fail:
......
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