forked from wolfSSL/wolfssl
Fix for Scan-buld and when building without ECC or DH.
This commit is contained in:
@ -2071,10 +2071,10 @@ static void ShowTlsSecrets(SnifferSession* session)
|
|||||||
/* contains static ephemeral keys */
|
/* contains static ephemeral keys */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
#ifndef NO_DH
|
#ifndef NO_DH
|
||||||
DerBuffer* ecKey;
|
DerBuffer* dhKey;
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_ECC
|
#ifdef HAVE_ECC
|
||||||
DerBuffer* dhKey;
|
DerBuffer* ecKey;
|
||||||
#endif
|
#endif
|
||||||
#if !defined(NO_RSA) && defined(WOLFSSL_STATIC_RSA)
|
#if !defined(NO_RSA) && defined(WOLFSSL_STATIC_RSA)
|
||||||
DerBuffer* rsaKey;
|
DerBuffer* rsaKey;
|
||||||
@ -2664,7 +2664,7 @@ static int ProcessSessionTicket(const byte* input, int* sslBytes,
|
|||||||
|
|
||||||
static int DoResume(SnifferSession* session, char* error)
|
static int DoResume(SnifferSession* session, char* error)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret = 0;
|
||||||
WOLFSSL_SESSION* resume;
|
WOLFSSL_SESSION* resume;
|
||||||
#ifdef WOLFSSL_TLS13
|
#ifdef WOLFSSL_TLS13
|
||||||
if (IsAtLeastTLSv1_3(session->sslServer->version)) {
|
if (IsAtLeastTLSv1_3(session->sslServer->version)) {
|
||||||
|
Reference in New Issue
Block a user