diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-05-19 14:07:40 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-05-19 14:07:40 +0200 |
commit | 517e58d3dc13b16d6896de2eccc8a28d9604a708 (patch) | |
tree | e37ce8159f58b002f156196a00dc818424b042af /include/libssh/auth.h | |
parent | 0eaa650e322014b67fa5e7150e889c39b294a223 (diff) | |
download | libssh-517e58d3dc13b16d6896de2eccc8a28d9604a708.tar.gz libssh-517e58d3dc13b16d6896de2eccc8a28d9604a708.tar.xz libssh-517e58d3dc13b16d6896de2eccc8a28d9604a708.zip |
Fixed keyboard-interactive and unit test
Diffstat (limited to 'include/libssh/auth.h')
-rw-r--r-- | include/libssh/auth.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libssh/auth.h b/include/libssh/auth.h index 8142143c..a0f80041 100644 --- a/include/libssh/auth.h +++ b/include/libssh/auth.h @@ -28,6 +28,7 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_banner); SSH_PACKET_CALLBACK(ssh_packet_userauth_failure); SSH_PACKET_CALLBACK(ssh_packet_userauth_success); SSH_PACKET_CALLBACK(ssh_packet_userauth_pk_ok); +SSH_PACKET_CALLBACK(ssh_packet_userauth_info_request); #ifdef WITH_SSH1 void ssh_auth1_handler(ssh_session session, uint8_t type); @@ -51,7 +52,9 @@ enum ssh_auth_state_e { /** Last state was a keyboard-interactive ask for info */ SSH_AUTH_STATE_INFO, /** Last state was a public key accepted for authentication */ - SSH_AUTH_STATE_PK_OK + SSH_AUTH_STATE_PK_OK, + /** We asked for a keyboard-interactive authentication */ + SSH_AUTH_STATE_KBDINT_SENT }; |