Skip to content

Commit ef536f5

Browse files
fix setting ssh error with TLS 1.3 connect socket errors
1 parent 195c14c commit ef536f5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/tls13.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13163,7 +13163,8 @@ int wolfSSL_accept_TLSv13(WOLFSSL* ssl)
1316313163
&& !ssl->dtls13SendingAckOrRtx;
1316413164
#endif /* WOLFSSL_DTLS13 */
1316513165

13166-
if ((ssl->error = SendBuffered(ssl)) == 0) {
13166+
ret = SendBuffered(ssl);
13167+
if (ret == 0) {
1316713168
if (ssl->fragOffset == 0 && !ssl->options.buildingMsg) {
1316813169
if (advanceState) {
1316913170
ssl->options.acceptState++;

0 commit comments

Comments
 (0)