Skip to content

Commit

Permalink
Merge pull request #7001 from dgarske/testnb
Browse files Browse the repository at this point in the history
Fix for TLS v1.3 in non-blocking loosing return code from `SendBuffered`
  • Loading branch information
JacobBarthelmeh authored Nov 24, 2023
2 parents 2e89e46 + 09b6974 commit 008d495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tls13.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 008d495

Please sign in to comment.