aboutsummaryrefslogtreecommitdiff
path: root/src/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth.c')
-rw-r--r--src/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth.c b/src/auth.c
index 185119f9..27fdd59b 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -500,7 +500,7 @@ int ssh_userauth_offer_pubkey(ssh_session session, const char *username,
#ifdef WITH_SSH1
if (session->version == 1) {
- ssh_userauth1_offer_pubkey(session, username, type, publickey);
+ rc = ssh_userauth1_offer_pubkey(session, username, type, publickey);
leave_function();
return rc;
}