Skip to content

Commit a18adff

Browse files
authored
Merge pull request #903 from yosuke-wolfssl/fix_1677
Fix f_1677
2 parents 157cb01 + 24b2846 commit a18adff

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)