mbedtls: Activate the session cache

This make sit possible to store informations about a session and reuse
it later. When used by a server it increases the time to create a new
TLS session from about 1 second to less than 0.1 seconds.

The size of the ipkg file increased by about 800 Bytes.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2018-05-21 13:58:53 +02:00 committed by John Crispin
parent cb11b23d60
commit f2c8f6dc32
1 changed files with 0 additions and 10 deletions

View File

@ -222,16 +222,6 @@
/**
* \def MBEDTLS_RSA_C
@@ -2483,8 +2483,8 @@
* Caller:
*
* Requires: MBEDTLS_SSL_CACHE_C
- */
#define MBEDTLS_SSL_CACHE_C
+ */
/**
* \def MBEDTLS_SSL_COOKIE_C
@@ -2505,8 +2505,8 @@
* Caller:
*