Lines Matching defs:authenticated
264 int r, authenticated = 0;
329 authenticated = m->userauth(ssh, method);
331 if (!authctxt->authenticated && strcmp(method, "none") != 0)
334 userauth_finish(ssh, authenticated, method, NULL);
344 userauth_finish(struct ssh *ssh, int authenticated, const char *packet_method,
353 if (authenticated) {
355 fatal("INTERNAL ERROR: authenticated invalid user %s",
359 fatal("INTERNAL ERROR: authenticated and postponed");
367 if (authenticated && authctxt->pw->pw_uid == 0 &&
369 authenticated = 0;
371 if (authenticated && options.num_auth_methods != 0) {
373 authenticated = 0;
379 auth_log(ssh, authenticated, partial, method, submethod);
382 if (authenticated || partial)
388 if (authenticated == 1) {
671 auth2_record_key(Authctxt *authctxt, int authenticated,
682 if (!authenticated)
685 /* If authenticated, make sure we don't accept this key again */