mirror of https://github.com/wolfSSL/wolfssh.git
Fix state in DoUserAuthRequestPublicKey
parent
9b29ba68cc
commit
7692effba5
|
@ -6783,11 +6783,8 @@ static int DoUserAuthRequestPublicKey(WOLFSSH* ssh, WS_UserAuthData* authData,
|
|||
WLOG(WS_LOG_DEBUG, "DUARPK: user overriding success");
|
||||
authFailure = 1;
|
||||
}
|
||||
else {
|
||||
ssh->clientState = CLIENT_USERAUTH_DONE;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!authFailure && !partialSuccess) {
|
||||
ssh->clientState = CLIENT_USERAUTH_DONE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue