version 1.130, 2000/10/11 20:27:24 |
version 1.131, 2000/10/12 09:59:20 |
|
|
packet_put_int(SSH_PROTOFLAG_HOST_IN_FWD_OPEN); |
packet_put_int(SSH_PROTOFLAG_HOST_IN_FWD_OPEN); |
|
|
/* Declare which ciphers we support. */ |
/* Declare which ciphers we support. */ |
packet_put_int(cipher_mask1()); |
packet_put_int(cipher_mask_ssh1(0)); |
|
|
/* Declare supported authentication types. */ |
/* Declare supported authentication types. */ |
auth_mask = 0; |
auth_mask = 0; |
|
|
/* Get cipher type and check whether we accept this. */ |
/* Get cipher type and check whether we accept this. */ |
cipher_type = packet_get_char(); |
cipher_type = packet_get_char(); |
|
|
if (!(cipher_mask1() & (1 << cipher_type))) |
if (!(cipher_mask_ssh1(0) & (1 << cipher_type))) |
packet_disconnect("Warning: client selects unsupported cipher."); |
packet_disconnect("Warning: client selects unsupported cipher."); |
|
|
/* Get check bytes from the packet. These must match those we |
/* Get check bytes from the packet. These must match those we |