summaryrefslogtreecommitdiff
path: root/cli-auth.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-07-06 14:02:45 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-07-06 14:02:45 +0000
commit60c4f115efa9aa46c671ffaaf57e61b4b7de14f2 (patch)
tree4ab2dfaabab66d954baa7508e7f48d218472e54f /cli-auth.c
parent842e8f52e3cd511b48d4f46bbfd67b1c86f30733 (diff)
downloaddropbear-60c4f115efa9aa46c671ffaaf57e61b4b7de14f2.tar.gz
- Client auth using an agent's key works. Still need to implement client
agent forwarding.
Diffstat (limited to 'cli-auth.c')
-rw-r--r--cli-auth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli-auth.c b/cli-auth.c
index 8b6a440..cfcf134 100644
--- a/cli-auth.c
+++ b/cli-auth.c
@@ -234,6 +234,10 @@ void recv_msg_userauth_success() {
ses.authstate.authdone = 1;
cli_ses.state = USERAUTH_SUCCESS_RCVD;
cli_ses.lastauthtype = AUTH_TYPE_NONE;
+
+#ifdef ENABLE_CLI_PUBKEY_AUTH
+ cli_auth_pubkey_cleanup();
+#endif
}
void cli_auth_try() {