version 1.31, 1999/11/15 23:58:54 |
version 1.32, 1999/11/16 20:44:42 |
|
|
|
|
rbits = BN_num_bits(public_key->n); |
rbits = BN_num_bits(public_key->n); |
if (bits != rbits) { |
if (bits != rbits) { |
log("Warning: Server lies about size of server public key,"); |
log("Warning: Server lies about size of server public key: " |
log("Warning: this may be due to an old implementation of ssh."); |
"actual size is %d bits vs. announced %d.", rbits, bits); |
log("Warning: (actual size %d bits, announced size %d bits)", rbits, bits); |
log("Warning: This may be due to an old implementation of ssh."); |
} |
} |
|
|
/* Get the host key. */ |
/* Get the host key. */ |
|
|
|
|
rbits = BN_num_bits(host_key->n); |
rbits = BN_num_bits(host_key->n); |
if (bits != rbits) { |
if (bits != rbits) { |
log("Warning: Server lies about size of server host key,"); |
log("Warning: Server lies about size of server host key: " |
log("Warning: this may be due to an old implementation of ssh."); |
"actual size is %d bits vs. announced %d.", rbits, bits); |
log("Warning: (actual size %d bits, announced size %d bits)", rbits, bits); |
log("Warning: This may be due to an old implementation of ssh."); |
} |
} |
|
|
/* Store the host key from the known host file in here |
/* Store the host key from the known host file in here |