mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Clear old ssl->error after retry
This commit is contained in:
@ -25676,6 +25676,9 @@ int SendData(WOLFSSL* ssl, const void* data, size_t sz)
|
|||||||
}
|
}
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
ssl->error = 0; /* Clear any previous errors */
|
||||||
|
}
|
||||||
|
|
||||||
sent += buffSz;
|
sent += buffSz;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user