1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-05 08:10:38 +03:00

Allow the configuration of padding when using CID extension

This commit is contained in:
Hanno Becker
2019-05-08 17:37:58 +01:00
parent 4c3eb7c919
commit b1aa1b3616
5 changed files with 32 additions and 4 deletions

View File

@@ -176,9 +176,7 @@
#endif
#if defined(MBEDTLS_SSL_CID)
#define MBEDTLS_SSL_MAX_CID_EXPANSION 16 /* Currently, we pad records
* to lengths which are multiples
* of 16 Bytes. */
#define MBEDTLS_SSL_MAX_CID_EXPANSION MBEDTLS_SSL_CID_PADDING_GRANULARITY
#else
#define MBEDTLS_SSL_MAX_CID_EXPANSION 0
#endif