Home | History | Annotate | Download | only in openssh

Lines Matching defs:authctxt

45 bsdauth_init_ctx(Authctxt *authctxt)
47 return authctxt;
54 Authctxt *authctxt = ctx;
57 if (authctxt->as != NULL) {
59 challenge = auth_getitem(authctxt->as, AUTHV_CHALLENGE);
61 auth_close(authctxt->as);
62 authctxt->as = NULL;
69 authctxt->style ? authctxt->style : "<default>");
70 authctxt->as = auth_userchallenge(authctxt->user,
71 authctxt->style, "auth-ssh", &challenge);
72 if (authctxt->as == NULL)
93 Authctxt *authctxt = ctx;
96 if (!authctxt->valid)
99 if (authctxt->as == 0)
105 authok = auth_userresponse(authctxt->as, responses[0], 0);
106 authctxt->as = NULL;
115 Authctxt *authctxt = ctx;
117 if (authctxt && authctxt->as) {
118 auth_close(authctxt->as);
119 authctxt->as = NULL;