From 94e34d7a981d777817fefc2404a1a4eac440b59f Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Mon, 2 May 2022 14:06:18 -0600 Subject: [PATCH] use NO_SESSION_CACHE_REF with titan cache due to session rows too big error --- wolfssl/wolfcrypt/settings.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 9a88ce2e4..0ca6e08a7 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -2652,6 +2652,12 @@ extern void uITRON4_free(void *p) ; #endif +/* With titan cache size there is too many sessions to fit with the default + * multiplier of 8 */ +#if defined(TITAN_SESSION_CACHE) && !defined(NO_SESSION_CACHE_REF) + #define NO_SESSION_CACHE_REF +#endif + /* --------------------------------------------------------------------------- * Depricated Algorithm Handling