summaryrefslogtreecommitdiffstats
path: root/tests/test_exec.c
diff options
context:
space:
mode:
authorJon Simons <jon@jonsimons.org>2015-05-04 16:22:35 -0700
committerAndreas Schneider <asn@cryptomilk.org>2015-05-05 22:03:47 +0200
commitee460dc04b8db188a29e555665dc48b30bbf9811 (patch)
tree85a84320359ee8a5ecf38867cafa59474aafc0a0 /tests/test_exec.c
parentf134cb3d57f6286e6a3d2f5dcca7eb835c399813 (diff)
downloadlibssh-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