diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index f4c689530..550e60c03 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -1779,11 +1779,17 @@ extern void uITRON4_free(void *p) ; #ifndef WOLFSSL_STATIC_RSA #define WOLFSSL_STATIC_RSA #endif - #ifndef WOLFSSL_SESSION_STATS - #define WOLFSSL_SESSION_STATS + #ifndef WOLFSSL_STATIC_DH + #define WOLFSSL_STATIC_DH #endif - #ifndef WOLFSSL_PEAK_SESSIONS - #define WOLFSSL_PEAK_SESSIONS + /* Allow option to be disabled. */ + #ifndef WOLFSSL_NO_SESSION_STATS + #ifndef WOLFSSL_SESSION_STATS + #define WOLFSSL_SESSION_STATS + #endif + #ifndef WOLFSSL_PEAK_SESSIONS + #define WOLFSSL_PEAK_SESSIONS + #endif #endif #endif