13 debug(DBG_AUTH, "try TIS\n");
14 sendmsg(allocmsg(c, SSH_CMSG_AUTH_TIS, 0));
19 badmsg(m, SSH_SMSG_AUTH_TIS_CHALLENGE);
20 case SSH_SMSG_FAILURE:
23 case SSH_SMSG_AUTH_TIS_CHALLENGE:
30 if((fd = open("/dev/cons", ORDWR)) < 0)
31 error("can't open console");
33 fprint(fd, "TIS Authentication\n%s", chal);
34 n = read(fd, resp, sizeof resp-1);
40 if(resp[0] == 0 || resp[0] == '\n')
43 m = allocmsg(c, SSH_CMSG_AUTH_TIS_RESPONSE, 4+strlen(resp));
51 case SSH_SMSG_SUCCESS:
54 case SSH_SMSG_FAILURE: