mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Add a missing dependency to config.h
Variable buffer lengths depend on the maximum fragment length extension. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
@@ -886,6 +886,10 @@
|
|||||||
#error "MBEDTLS_SSL_DTLS_SRTP defined, but not all prerequisites"
|
#error "MBEDTLS_SSL_DTLS_SRTP defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH) && ( !defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH) )
|
||||||
|
#error "MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH defined, but not all prerequisites"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Avoid warning from -pedantic. This is a convenient place for this
|
* Avoid warning from -pedantic. This is a convenient place for this
|
||||||
* workaround since this is included by every single file before the
|
* workaround since this is included by every single file before the
|
||||||
|
@@ -1980,6 +1980,8 @@
|
|||||||
* \def MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH
|
* \def MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH
|
||||||
*
|
*
|
||||||
* Enable modifying the maximum I/O buffer size.
|
* Enable modifying the maximum I/O buffer size.
|
||||||
|
*
|
||||||
|
* Requires: MBEDTLS_SSL_MAX_FRAGMENT_LENGTH
|
||||||
*/
|
*/
|
||||||
//#define MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH
|
//#define MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user