mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-18 14:42:24 +00:00
Fix and sync configuration file and configuration verifiation
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
48a6a666a0
commit
460192ee19
@ -962,6 +962,11 @@
|
|||||||
#error "MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH defined, but not all prerequisites"
|
#error "MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SSL_SESSION_TICKETS) && \
|
||||||
|
!( defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CCM_C) || defined(MBEDTLS_CHACHAPOLY_C) || defined(MBEDTLS_NIST_KW_C) )
|
||||||
|
#error "MBEDTLS_SSL_SESSION_TICKETS defined, but not all prerequisites"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_SSL_CONTEXT_SERIALIZATION) && !( defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CCM_C) || defined(MBEDTLS_CHACHAPOLY_C) )
|
#if defined(MBEDTLS_SSL_CONTEXT_SERIALIZATION) && !( defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CCM_C) || defined(MBEDTLS_CHACHAPOLY_C) )
|
||||||
#error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites"
|
#error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
@ -1380,6 +1380,8 @@
|
|||||||
* saved after the handshake to allow for more efficient serialization, so if
|
* saved after the handshake to allow for more efficient serialization, so if
|
||||||
* you don't need this feature you'll save RAM by disabling it.
|
* you don't need this feature you'll save RAM by disabling it.
|
||||||
*
|
*
|
||||||
|
* Requires: MBEDTLS_GCM_C or MBEDTLS_CCM_C or MBEDTLS_CHACHAPOLY_C
|
||||||
|
*
|
||||||
* Comment to disable the context serialization APIs.
|
* Comment to disable the context serialization APIs.
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_SSL_CONTEXT_SERIALIZATION
|
#define MBEDTLS_SSL_CONTEXT_SERIALIZATION
|
||||||
@ -1701,6 +1703,9 @@
|
|||||||
* tickets, including authenticated encryption and key management. Example
|
* tickets, including authenticated encryption and key management. Example
|
||||||
* callbacks are provided by MBEDTLS_SSL_TICKET_C.
|
* callbacks are provided by MBEDTLS_SSL_TICKET_C.
|
||||||
*
|
*
|
||||||
|
* Requires: MBEDTLS_GCM_C or MBEDTLS_CCM_C or MBEDTLS_CHACHAPOLY_C or
|
||||||
|
* MBEDTLS_NIST_KW_C
|
||||||
|
*
|
||||||
* Comment this macro to disable support for SSL session tickets
|
* Comment this macro to disable support for SSL session tickets
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_SSL_SESSION_TICKETS
|
#define MBEDTLS_SSL_SESSION_TICKETS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user