We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 979b92d commit 9d05a4fCopy full SHA for 9d05a4f
1 file changed
src/ssl.c
@@ -21455,8 +21455,8 @@ static int wolfSSL_DupSessionEx(const WOLFSSL_SESSION* input,
21455
* the static buffer. */
21456
if (ticBuff != NULL) {
21457
if (ticLenAlloc >= input->ticketLen) {
21458
- output->ticket = output->staticTicket;
21459
- output->ticketLenAlloc = 0;
+ output->ticket = ticBuff;
+ output->ticketLenAlloc = ticLenAlloc;
21460
}
21461
else {
21462
WOLFSSL_MSG("ticket dynamic buffer too small but we are "
0 commit comments