Sniffer Fixes

Added a flag to disable the normally enabled session stats, WOLFSSL_NO_SESSION_STATS.
This commit is contained in:
John Safranek
2019-08-26 11:24:09 -07:00
parent dea5e73852
commit b6ca72549c

View File

@@ -1779,6 +1779,11 @@ extern void uITRON4_free(void *p) ;
#ifndef WOLFSSL_STATIC_RSA #ifndef WOLFSSL_STATIC_RSA
#define WOLFSSL_STATIC_RSA #define WOLFSSL_STATIC_RSA
#endif #endif
#ifndef WOLFSSL_STATIC_DH
#define WOLFSSL_STATIC_DH
#endif
/* Allow option to be disabled. */
#ifndef WOLFSSL_NO_SESSION_STATS
#ifndef WOLFSSL_SESSION_STATS #ifndef WOLFSSL_SESSION_STATS
#define WOLFSSL_SESSION_STATS #define WOLFSSL_SESSION_STATS
#endif #endif
@@ -1786,6 +1791,7 @@ extern void uITRON4_free(void *p) ;
#define WOLFSSL_PEAK_SESSIONS #define WOLFSSL_PEAK_SESSIONS
#endif #endif
#endif #endif
#endif
/* Decode Public Key extras on by default, user can turn off with /* Decode Public Key extras on by default, user can turn off with
* WOLFSSL_NO_DECODE_EXTRA */ * WOLFSSL_NO_DECODE_EXTRA */