version 1.13, 2001/01/21 19:05:43 |
version 1.14, 2001/01/22 23:06:39 |
|
|
|
|
case SSH_CMSG_AUTH_TIS: |
case SSH_CMSG_AUTH_TIS: |
debug("rcvd SSH_CMSG_AUTH_TIS"); |
debug("rcvd SSH_CMSG_AUTH_TIS"); |
if (options.skey_authentication == 1) { |
if (options.challenge_reponse_authentication == 1) { |
char *challenge = get_challenge(authctxt, authctxt->style); |
char *challenge = get_challenge(authctxt, authctxt->style); |
if (challenge != NULL) { |
if (challenge != NULL) { |
debug("sending challenge '%s'", challenge); |
debug("sending challenge '%s'", challenge); |
|
|
break; |
break; |
case SSH_CMSG_AUTH_TIS_RESPONSE: |
case SSH_CMSG_AUTH_TIS_RESPONSE: |
debug("rcvd SSH_CMSG_AUTH_TIS_RESPONSE"); |
debug("rcvd SSH_CMSG_AUTH_TIS_RESPONSE"); |
if (options.skey_authentication == 1) { |
if (options.challenge_reponse_authentication == 1) { |
char *response = packet_get_string(&dlen); |
char *response = packet_get_string(&dlen); |
debug("got response '%s'", response); |
debug("got response '%s'", response); |
packet_integrity_check(plen, 4 + dlen, type); |
packet_integrity_check(plen, 4 + dlen, type); |