summaryrefslogtreecommitdiffhomepage
path: root/cli-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-session.c')
-rw-r--r--cli-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-session.c b/cli-session.c
index 0ac120e..8b58526 100644
--- a/cli-session.c
+++ b/cli-session.c
@@ -126,7 +126,7 @@ static void cli_session_init() {
specific exit status */
/* Auth */
- cli_ses.lastpubkey = NULL;
+ cli_ses.lastprivkey = NULL;
cli_ses.lastauthtype = 0;
/* For printing "remote host closed" for the user */