diff --git a/src/sniffer.c b/src/sniffer.c index f332ef8fc..156f400fb 100644 --- a/src/sniffer.c +++ b/src/sniffer.c @@ -4123,6 +4123,8 @@ int ssl_EnableRecovery(int onOff, int maxMemory, char* error) +#ifdef WOLFSSL_SESSION_STATS + int ssl_GetSessionStats(unsigned int* active, unsigned int* total, unsigned int* peak, unsigned int* maxSessions, unsigned int* missedData, unsigned int* reassemblyMem, @@ -4163,6 +4165,8 @@ int ssl_GetSessionStats(unsigned int* active, unsigned int* total, } } +#endif + int ssl_SetConnectionCb(SSLConnCb cb)