Make MBEDTLS_SSL_CONTEXT_SERIALIZATION dependent on AEAD
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
4c49927bad
commit
d582a01073
2 changed files with 4 additions and 0 deletions
|
@ -966,6 +966,9 @@
|
||||||
#error "MBEDTLS_SSL_SESSION_TICKETS defined, but not all prerequisites"
|
#error "MBEDTLS_SSL_SESSION_TICKETS defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SSL_CONTEXT_SERIALIZATION) && !defined(MBEDTLS_CIPHER_MODE_AEAD)
|
||||||
|
#error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Reject attempts to enable options that have been removed and that could
|
/* Reject attempts to enable options that have been removed and that could
|
||||||
* cause a build to succeed but with features removed. */
|
* cause a build to succeed but with features removed. */
|
||||||
|
|
|
@ -1297,6 +1297,7 @@ component_test_crypto_default_stream_cipher_only () {
|
||||||
scripts/config.py unset MBEDTLS_CMAC_C
|
scripts/config.py unset MBEDTLS_CMAC_C
|
||||||
scripts/config.py unset MBEDTLS_NIST_KW_C
|
scripts/config.py unset MBEDTLS_NIST_KW_C
|
||||||
scripts/config.py unset MBEDTLS_SSL_SESSION_TICKETS
|
scripts/config.py unset MBEDTLS_SSL_SESSION_TICKETS
|
||||||
|
scripts/config.py unset MBEDTLS_SSL_CONTEXT_SERIALIZATION
|
||||||
|
|
||||||
# Enable stream(null) cipher only
|
# Enable stream(null) cipher only
|
||||||
scripts/config.py set MBEDTLS_CIPHER_NULL_CIPHER
|
scripts/config.py set MBEDTLS_CIPHER_NULL_CIPHER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue