Move the usage string of cache_remove to USAGE_CACHE

Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
Pengyu Lv 2023-03-15 09:53:45 +08:00
parent 62ed1aa316
commit f30488f5cd

View File

@ -320,19 +320,17 @@ int main(void)
#if defined(MBEDTLS_SSL_CACHE_C) #if defined(MBEDTLS_SSL_CACHE_C)
#define USAGE_CACHE \ #define USAGE_CACHE \
" cache_max=%%d default: cache default (50)\n" " cache_max=%%d default: cache default (50)\n" \
" cache_remove=%%d default: 0 (don't remove)\n"
#if defined(MBEDTLS_HAVE_TIME) #if defined(MBEDTLS_HAVE_TIME)
#define USAGE_CACHE_TIME \ #define USAGE_CACHE_TIME \
" cache_timeout=%%d default: cache default (1d)\n" " cache_timeout=%%d default: cache default (1d)\n"
#else #else
#define USAGE_CACHE_TIME "" #define USAGE_CACHE_TIME ""
#endif #endif
#define USAGE_CACHE_REMOVE \
" cache_remove=%%d default: 0 (disabled)\n"
#else #else
#define USAGE_CACHE "" #define USAGE_CACHE ""
#define USAGE_CACHE_TIME "" #define USAGE_CACHE_TIME ""
#define USAGE_CACHE_REMOVE ""
#endif /* MBEDTLS_SSL_CACHE_C */ #endif /* MBEDTLS_SSL_CACHE_C */
#if defined(SNI_OPTION) #if defined(SNI_OPTION)
@ -553,7 +551,6 @@ int main(void)
USAGE_NSS_KEYLOG_FILE \ USAGE_NSS_KEYLOG_FILE \
USAGE_CACHE \ USAGE_CACHE \
USAGE_CACHE_TIME \ USAGE_CACHE_TIME \
USAGE_CACHE_REMOVE \
USAGE_MAX_FRAG_LEN \ USAGE_MAX_FRAG_LEN \
USAGE_ALPN \ USAGE_ALPN \
USAGE_EMS \ USAGE_EMS \