diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-12-26 20:24:07 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-12-26 20:24:07 +0100 |
commit | 682ed1812364bd42fef6f331486c5d8f5a72ef21 (patch) | |
tree | 592c5164a0cd93b1a0572f1cc3f3e229a7a1fec9 /libssh/packet.c | |
parent | 3aae59c224ff682114fc6bc77462b939af54da5b (diff) | |
download | libssh-682ed1812364bd42fef6f331486c5d8f5a72ef21.tar.gz libssh-682ed1812364bd42fef6f331486c5d8f5a72ef21.tar.xz libssh-682ed1812364bd42fef6f331486c5d8f5a72ef21.zip |
New packet handler for SSH_USERAUTH_BANNER
Diffstat (limited to 'libssh/packet.c')
-rw-r--r-- | libssh/packet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libssh/packet.c b/libssh/packet.c index c422234..f3263cc 100644 --- a/libssh/packet.c +++ b/libssh/packet.c @@ -45,6 +45,7 @@ #include "libssh/messages.h" #include "libssh/pcap.h" #include "libssh/kex.h" +#include "libssh/auth.h" ssh_packet_callback default_packet_handlers[]= { @@ -69,7 +70,7 @@ ssh_packet_callback default_packet_handlers[]= { NULL, //#define SSH2_MSG_USERAUTH_REQUEST 50 NULL, //#define SSH2_MSG_USERAUTH_FAILURE 51 NULL, //#define SSH2_MSG_USERAUTH_SUCCESS 52 - NULL, //#define SSH2_MSG_USERAUTH_BANNER 53 + ssh_packet_userauth_banner, //#define SSH2_MSG_USERAUTH_BANNER 53 NULL, //#define SSH2_MSG_USERAUTH_PK_OK 60 SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ 60 //SSH2_MSG_USERAUTH_INFO_REQUEST 60 NULL, //#define SSH2_MSG_USERAUTH_INFO_RESPONSE 61 |