Added a preprocessor guard around ssl_GetSessionStats().

This commit is contained in:
John Safranek
2019-08-19 14:43:32 -07:00
parent a0ad39cf70
commit 98e94a6f0f

View File

@@ -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)