diff options
Diffstat (limited to 'src/auth.c')
-rw-r--r-- | src/auth.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -317,6 +317,17 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_pk_ok){ return rc; } +static int auth_status_termination(void *user){ + ssh_session session=(ssh_session)user; + switch(session->auth_state){ + case SSH_AUTH_STATE_NONE: + case SSH_AUTH_STATE_KBDINT_SENT: + return 0; + default: + return 1; + } +} + /** * @brief Get available authentication methods from the server. * |