version 1.47, 2001/12/27 18:22:16 |
version 1.48, 2001/12/27 20:39:58 |
|
|
|
|
/* Wait for a response. */ |
/* Wait for a response. */ |
packet_read_expect(&plen, SSH_CMSG_AUTH_RSA_RESPONSE); |
packet_read_expect(&plen, SSH_CMSG_AUTH_RSA_RESPONSE); |
packet_integrity_check(plen, 16, SSH_CMSG_AUTH_RSA_RESPONSE); |
|
for (i = 0; i < 16; i++) |
for (i = 0; i < 16; i++) |
response[i] = packet_get_char(); |
response[i] = packet_get_char(); |
|
packet_done(); |
|
|
/* The response is MD5 of decrypted challenge plus session id. */ |
/* The response is MD5 of decrypted challenge plus session id. */ |
len = BN_num_bytes(challenge); |
len = BN_num_bytes(challenge); |