Skip to content

Commit 008d495

Browse files
Merge pull request #7001 from dgarske/testnb
Fix for TLS v1.3 in non-blocking loosing return code from `SendBuffered`
2 parents 2e89e46 + 09b6974 commit 008d495

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tls13.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11954,7 +11954,7 @@ int wolfSSL_connect_TLSv13(WOLFSSL* ssl)
1195411954
&& ssl->error != WC_PENDING_E
1195511955
#endif
1195611956
) {
11957-
if ((ssl->error = SendBuffered(ssl)) == 0) {
11957+
if ((ret = SendBuffered(ssl)) == 0) {
1195811958
if (ssl->fragOffset == 0 && !ssl->options.buildingMsg) {
1195911959
if (advanceState) {
1196011960
#ifdef WOLFSSL_DTLS13

0 commit comments

Comments
 (0)