mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
Added a preprocessor guard around ssl_GetSessionStats().
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user