diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-09-20 17:35:21 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-09-20 17:35:21 +0000 |
commit | 876b7081d8f073edd4717ccdb7091fe3a6975ef6 (patch) | |
tree | a1e75c7c67acfa982b9f0098591d9f3e8c86662d /cli-session.c | |
parent | cb2cb15916497f790c1d420ccff858446772780c (diff) |
added keyboard-interactive client support
--HG--
extra : convert_revision : 3df738e42f4fc8b7f0f3ff9ca767386f54edb1ea
Diffstat (limited to 'cli-session.c')
-rw-r--r-- | cli-session.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cli-session.c b/cli-session.c index 8b58526..0e906e6 100644 --- a/cli-session.c +++ b/cli-session.c @@ -63,9 +63,7 @@ static const packettype cli_packettypes[] = { {SSH_MSG_CHANNEL_OPEN_CONFIRMATION, recv_msg_channel_open_confirmation}, {SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure}, {SSH_MSG_USERAUTH_BANNER, recv_msg_userauth_banner}, /* client */ -#ifdef ENABLE_CLI_PUBKEY_AUTH - {SSH_MSG_USERAUTH_PK_OK, recv_msg_userauth_pk_ok}, /* client */ -#endif + {SSH_MSG_USERAUTH_SPECIFIC_60, recv_msg_userauth_specific_60}, /* client */ {0, 0} /* End */ }; @@ -285,7 +283,8 @@ static void cli_remoteclosed() { } /* Operates in-place turning dirty (untrusted potentially containing control - * characters) text into clean text. */ + * characters) text into clean text. + * Note: this is safe only with ascii - other charsets could have problems. */ void cleantext(unsigned char* dirtytext) { unsigned int i, j; |