version 1.8, 2017/05/30 14:29:59 |
version 1.9, 2018/07/09 21:35:50 |
|
|
|
|
#include "xmalloc.h" |
#include "xmalloc.h" |
#include "packet.h" |
#include "packet.h" |
#include "key.h" |
|
#include "hostfile.h" |
#include "hostfile.h" |
#include "auth.h" |
#include "auth.h" |
#include "log.h" |
#include "log.h" |
#include "buffer.h" |
|
#include "misc.h" |
#include "misc.h" |
#include "servconf.h" |
#include "servconf.h" |
|
#include "ssherr.h" |
|
|
/* import */ |
/* import */ |
extern ServerOptions options; |
extern ServerOptions options; |
|
|
static int |
static int |
userauth_kbdint(struct ssh *ssh) |
userauth_kbdint(struct ssh *ssh) |
{ |
{ |
int authenticated = 0; |
int r, authenticated = 0; |
char *lang, *devs; |
char *lang, *devs; |
|
|
lang = packet_get_string(NULL); |
if ((r = sshpkt_get_cstring(ssh, &lang, NULL)) != 0 || |
devs = packet_get_string(NULL); |
(r = sshpkt_get_cstring(ssh, &devs, NULL)) != 0 || |
packet_check_eom(); |
(r = sshpkt_get_end(ssh)) != 0) |
|
fatal("%s: %s", __func__, ssh_err(r)); |
|
|
debug("keyboard-interactive devs %s", devs); |
debug("keyboard-interactive devs %s", devs); |
|
|