mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 11:44:38 +02:00
HAVE_SESSION_TICKET can also be defined without TLS 1.2
This commit is contained in:
@@ -16784,9 +16784,8 @@ int CreateOcspResponse(WOLFSSL* ssl, OcspRequest** ocspRequest,
|
|||||||
#endif
|
#endif
|
||||||
#endif /* !NO_WOLFSSL_SERVER */
|
#endif /* !NO_WOLFSSL_SERVER */
|
||||||
|
|
||||||
#ifndef WOLFSSL_NO_TLS12
|
#if (!defined(WOLFSSL_NO_TLS12) && !defined(NO_CERTS)) \
|
||||||
|
|| defined(HAVE_SESSION_TICKET)
|
||||||
#if !defined(NO_CERTS) || defined(HAVE_SESSION_TICKET)
|
|
||||||
static int cipherExtraData(WOLFSSL* ssl)
|
static int cipherExtraData(WOLFSSL* ssl)
|
||||||
{
|
{
|
||||||
/* Cipher data that may be added by BuildMessage */
|
/* Cipher data that may be added by BuildMessage */
|
||||||
@@ -16796,6 +16795,8 @@ static int cipherExtraData(WOLFSSL* ssl)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef WOLFSSL_NO_TLS12
|
||||||
|
|
||||||
#ifndef NO_CERTS
|
#ifndef NO_CERTS
|
||||||
#if !defined(NO_WOLFSSL_SERVER) || !defined(WOLFSSL_NO_CLIENT_AUTH)
|
#if !defined(NO_WOLFSSL_SERVER) || !defined(WOLFSSL_NO_CLIENT_AUTH)
|
||||||
/* handle generation of certificate (11) */
|
/* handle generation of certificate (11) */
|
||||||
|
Reference in New Issue
Block a user