Skip to content

Commit 4fdda82

Browse files
committed
DTLS decryption threaded
Add support for decryption in threads for DTLS.
1 parent 9bec6da commit 4fdda82

File tree

7 files changed

+472
-246
lines changed

7 files changed

+472
-246
lines changed

src/dtls13.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2666,9 +2666,6 @@ int DoDtls13Ack(WOLFSSL* ssl, const byte* input, word32 inputSize,
26662666
const byte* ackMessage;
26672667
w64wrapper epoch, seq;
26682668
word16 length;
2669-
#ifndef WOLFSSL_RW_THREADED
2670-
int ret;
2671-
#endif
26722669
int i;
26732670

26742671
if (inputSize < OPAQUE16_LEN)
@@ -2702,7 +2699,7 @@ int DoDtls13Ack(WOLFSSL* ssl, const byte* input, word32 inputSize,
27022699

27032700
#ifndef WOLFSSL_RW_THREADED
27042701
if (ssl->dtls13WaitKeyUpdateAck) {
2705-
ret = DoDtls13KeyUpdateAck(ssl);
2702+
int ret = DoDtls13KeyUpdateAck(ssl);
27062703
if (ret != 0)
27072704
return ret;
27082705
}

0 commit comments

Comments
 (0)