Change TLS 1.3 default padding to no padding

Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
Hanno Becker 2020-05-31 07:30:00 +01:00
parent 3427f1dad2
commit 29e9895faa
2 changed files with 2 additions and 2 deletions

View File

@ -3568,7 +3568,7 @@
* Note: On systems lacking division instructions,
* a power of two should be preferred.
*/
//#define MBEDTLS_SSL_TLS13_PADDING_GRANULARITY 16
//#define MBEDTLS_SSL_TLS13_PADDING_GRANULARITY 1
/** \def MBEDTLS_SSL_OUT_CONTENT_LEN
*

View File

@ -278,7 +278,7 @@
#endif
#if !defined(MBEDTLS_SSL_TLS13_PADDING_GRANULARITY)
#define MBEDTLS_SSL_TLS13_PADDING_GRANULARITY 16
#define MBEDTLS_SSL_TLS13_PADDING_GRANULARITY 1
#endif
/* \} name SECTION: Module settings */