diff --git a/src/auth.c b/src/auth.c index 8ce20ffe..4b88df59 100644 --- a/src/auth.c +++ b/src/auth.c @@ -814,7 +814,7 @@ static int ssh_userauth_agent_publickey(ssh_session session, switch(session->pending_call_state) { case SSH_PENDING_CALL_NONE: break; - case SSH_PENDING_CALL_AUTH_OFFER_PUBKEY: + case SSH_PENDING_CALL_AUTH_PUBKEY: goto pending; default: ssh_set_error(session, @@ -919,7 +919,7 @@ static int ssh_userauth_agent_publickey(ssh_session session, } session->auth_state = SSH_AUTH_STATE_NONE; - session->pending_call_state = SSH_PENDING_CALL_AUTH_OFFER_PUBKEY; + session->pending_call_state = SSH_PENDING_CALL_AUTH_PUBKEY; rc = packet_send(session); if (rc == SSH_ERROR) { return SSH_AUTH_ERROR;