diff options
author | Jon Simons <jon@jonsimons.org> | 2015-05-04 16:22:35 -0700 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-05-05 22:03:47 +0200 |
commit | ee460dc04b8db188a29e555665dc48b30bbf9811 (patch) | |
tree | 85a84320359ee8a5ecf38867cafa59474aafc0a0 /tests/test_exec.c | |
parent | f134cb3d57f6286e6a3d2f5dcca7eb835c399813 (diff) | |
download | libssh-ee460dc04b8db188a29e555665dc48b30bbf9811.tar.gz libssh-ee460dc04b8db188a29e555665dc48b30bbf9811.tar.xz libssh-ee460dc04b8db188a29e555665dc48b30bbf9811.zip |
kex: also compare host keys for 'first_kex_packet_follows'
Also consider the host key type at hand when computing whether a
'first_kex_packet_follows' packet matches the current server settings.
Without this change libssh may incorrectly believe that guessed
settings which match by kex algorithm alone fully match: the host
key types must also match. Observed when testing with dropbear
clients.
Signed-off-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/test_exec.c')
0 files changed, 0 insertions, 0 deletions