Skip to content

Commit 24b2846

Browse files
Fix f_1677
1 parent 157cb01 commit 24b2846

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agent.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ int wolfSSH_AGENT_Relay(WOLFSSH* ssh,
17311731
*msgSz = (word32)sz;
17321732
}
17331733
else {
1734-
if (ret == WS_CBIO_ERR_GENERAL) {
1734+
if (sz == WS_CBIO_ERR_GENERAL) {
17351735
if (ssh->ctx->agentCb) {
17361736
ret = ssh->ctx->agentCb(WOLFSSH_AGENT_LOCAL_SETUP,
17371737
ssh->agentCbCtx);

0 commit comments

Comments
 (0)