mbedtls: Activate the session cache
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 21 May 2018 11:58:53 +0000 (13:58 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 5 Jun 2018 16:49:02 +0000 (18:49 +0200)
Upstream commit: f2c8f6dc3249b506b915741d12905402dfffe162

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>
package/libs/mbedtls/patches/200-config.patch

index ff5d29a066d3fb89090b8adff939e4a1831d1f30..538a6d10879825291b4531f4bcf90d8388fb3141 100644 (file)
  
  /**
   * \def MBEDTLS_RSA_C
-@@ -2446,8 +2446,8 @@
-  * Caller:
-  *
-  * Requires: MBEDTLS_SSL_CACHE_C
-- */
- #define MBEDTLS_SSL_CACHE_C
-+ */
- /**
-  * \def MBEDTLS_SSL_COOKIE_C
 @@ -2468,8 +2468,8 @@
   * Caller:
   *