version 1.33, 2007/09/21 08:15:29 |
version 1.34, 2008/12/09 04:32:22 |
|
|
{ |
{ |
Authctxt *authctxt = ctxt; |
Authctxt *authctxt = ctxt; |
KbdintAuthctxt *kbdintctxt; |
KbdintAuthctxt *kbdintctxt; |
int authenticated = 0, res, len; |
int authenticated = 0, res; |
u_int i, nresp; |
u_int i, nresp; |
char **response = NULL, *method; |
char **response = NULL, *method; |
|
|
|
|
break; |
break; |
} |
} |
|
|
len = strlen("keyboard-interactive") + 2 + |
xasprintf(&method, "keyboard-interactive/%s", kbdintctxt->device->name); |
strlen(kbdintctxt->device->name); |
|
method = xmalloc(len); |
|
snprintf(method, len, "keyboard-interactive/%s", |
|
kbdintctxt->device->name); |
|
|
|
if (!authctxt->postponed) { |
if (!authctxt->postponed) { |
if (authenticated) { |
if (authenticated) { |