Fix for building session tickets without TLS v1.3. Broken in PR #4275. (#4360)

This commit is contained in:
David Garske
2021-08-31 17:06:31 -07:00
committed by GitHub
parent 9b6cf56a6e
commit d23b0784b3

View File

@@ -3051,6 +3051,7 @@ void* wolfSSL_CTX_get_TicketEncCtx(WOLFSSL_CTX* ctx)
return ctx->ticketEncCtx;
}
#ifdef WOLFSSL_TLS13
/* set the maximum number of tickets to send
* return WOLFSSL_SUCCESS on success and WOLFSSL_FAILURE on fail
*/
@@ -3073,6 +3074,7 @@ size_t wolfSSL_CTX_get_num_tickets(WOLFSSL_CTX* ctx)
return (size_t)ctx->maxTicketTls13;
}
#endif /* WOLFSSL_TLS13 */
#endif /* !NO_WOLFSSL_SERVER */
#if !defined(NO_WOLFSSL_CLIENT)