mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Fix avoidSysCalls logic
This commit is contained in:
@ -20040,7 +20040,7 @@ int wolfSSL_DupSession(const WOLFSSL_SESSION* input, WOLFSSL_SESSION* output,
|
||||
if (ticBuff == NULL || ticLenAlloc < input->ticketLen) {
|
||||
/* allocate new one */
|
||||
byte* tmp;
|
||||
if (!avoidSysCalls) {
|
||||
if (avoidSysCalls) {
|
||||
WOLFSSL_MSG("Failed to allocate memory for ticket when avoiding"
|
||||
" syscalls");
|
||||
output->ticket = ticBuff;
|
||||
|
Reference in New Issue
Block a user