Commit 97432be8 authored by Niels Möller's avatar Niels Möller
Browse files

* src/server_publickey.c (do_authenticate): Use the user

superclass rather than unix_user.

Rev: src/server_publickey.c:1.11
parent e06d1ee7
...@@ -86,7 +86,7 @@ do_authenticate(struct userauth *s, ...@@ -86,7 +86,7 @@ do_authenticate(struct userauth *s,
&& parse_eod(args)) && parse_eod(args))
: parse_eod(args))) : parse_eod(args)))
{ {
struct unix_user *user; struct user *user;
lookup = ALIST_GET(self->verifiers, algorithm); lookup = ALIST_GET(self->verifiers, algorithm);
...@@ -117,7 +117,7 @@ do_authenticate(struct userauth *s, ...@@ -117,7 +117,7 @@ do_authenticate(struct userauth *s,
goto fail; goto fail;
} }
v = LOOKUP_VERIFIER(lookup, algorithm, &user->super, keyblob); v = LOOKUP_VERIFIER(lookup, algorithm, user, keyblob);
if (!check_key) if (!check_key)
{ {
......
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