diff options
author | Jakub Jelen <jjelen@redhat.com> | 2018-08-06 11:51:26 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-08-31 14:18:34 +0200 |
commit | 761225712a28d70adea7a2b872c265bc98a83511 (patch) | |
tree | e3b64f27742c357a1625e30407d12b7888c2e9cc /src/packet.c | |
parent | df13d8c61f4fe0cc7d07260d59740eaf7f939d65 (diff) | |
download | libssh-761225712a28d70adea7a2b872c265bc98a83511.tar.gz libssh-761225712a28d70adea7a2b872c265bc98a83511.tar.xz libssh-761225712a28d70adea7a2b872c265bc98a83511.zip |
client: Handle the MSG_EXT_INFO packet signalling supported extensions
RFC 8308: The extension negotiation in Secure Shell (SSH) Protocol
RFC 8332: Use of RSA Keys with SHA-256 and SHA-512
in the Secure Shell (SSH) Protocol
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/packet.c')
-rw-r--r-- | src/packet.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/packet.c b/src/packet.c index 16f96149..5b9252f5 100644 --- a/src/packet.c +++ b/src/packet.c @@ -59,8 +59,9 @@ static ssh_packet_callback default_packet_handlers[]= { NULL, #endif ssh_packet_service_accept, // SSH2_MSG_SERVICE_ACCEPT 6 - NULL, NULL, NULL, NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, NULL, NULL, // 7-19 + ssh_packet_ext_info, // SSH2_MSG_EXT_INFO 7 + NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, // 8-19 ssh_packet_kexinit, // SSH2_MSG_KEXINIT 20 ssh_packet_newkeys, // SSH2_MSG_NEWKEYS 21 NULL, NULL, NULL, NULL, NULL, NULL, NULL, |