forked from wolfSSL/wolfssl
trimmed some unused code for session tickets
This commit is contained in:
@@ -797,8 +797,7 @@ int CyaSSL_Rehandshake(CYASSL* ssl)
|
||||
#endif /* HAVE_SECURE_RENEGOTIATION */
|
||||
|
||||
/* Session Ticket */
|
||||
#ifdef HAVE_SESSION_TICKET
|
||||
#ifndef NO_CYASSL_CLIENT
|
||||
#if !defined(NO_CYASSL_CLIENT) && defined(HAVE_SESSION_TICKET)
|
||||
int CyaSSL_UseSessionTicket(CYASSL* ssl)
|
||||
{
|
||||
if (ssl == NULL)
|
||||
@@ -815,7 +814,6 @@ int CyaSSL_CTX_UseSessionTicket(CYASSL_CTX* ctx)
|
||||
return TLSX_UseSessionTicket(&ctx->extensions, NULL);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef CYASSL_LEANPSK
|
||||
|
||||
|
||||
Reference in New Issue
Block a user