forked from wolfSSL/wolfssl
Merge pull request #7001 from dgarske/testnb
Fix for TLS v1.3 in non-blocking loosing return code from `SendBuffered`
This commit is contained in:
@ -11954,7 +11954,7 @@ int wolfSSL_connect_TLSv13(WOLFSSL* ssl)
|
||||
&& ssl->error != WC_PENDING_E
|
||||
#endif
|
||||
) {
|
||||
if ((ssl->error = SendBuffered(ssl)) == 0) {
|
||||
if ((ret = SendBuffered(ssl)) == 0) {
|
||||
if (ssl->fragOffset == 0 && !ssl->options.buildingMsg) {
|
||||
if (advanceState) {
|
||||
#ifdef WOLFSSL_DTLS13
|
||||
|
Reference in New Issue
Block a user