|
Lines 2139-2145
client_global_hostkeys_private_confirm(struct ssh *ssh, int type,
Link Here
|
| 2139 |
* during KEX to the default (SHA1). |
2139 |
* during KEX to the default (SHA1). |
| 2140 |
*/ |
2140 |
*/ |
| 2141 |
use_kexsigtype = kexsigtype == KEY_RSA && |
2141 |
use_kexsigtype = kexsigtype == KEY_RSA && |
| 2142 |
sshkey_type_plain(ctx->keys[i]->type) == KEY_RSA; |
2142 |
sshkey_type_plain(ctx->keys[i]->type) == KEY_RSA && |
|
|
2143 |
!(ssh->compat & SSH_BUG_SIGTYPE); |
| 2143 |
debug3_f("verify %s key %zu using %s sigalg", |
2144 |
debug3_f("verify %s key %zu using %s sigalg", |
| 2144 |
sshkey_type(ctx->keys[i]), i, |
2145 |
sshkey_type(ctx->keys[i]), i, |
| 2145 |
use_kexsigtype ? ssh->kex->hostkey_alg : NULL); |
2146 |
use_kexsigtype ? ssh->kex->hostkey_alg : NULL); |