mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 16:32:32 -04:00
Fix condition to include MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE
Don't try to include MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE when MBEDTLS_PSA_CRYPTO_CONFIG is disabled. This didn't make sense and was an editorial mistake when adding it: it's meant as an addition to MBEDTLS_PSA_CRYPTO_CONFIG_FILE, so it should be included under the same conditions. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
a458d48e7f
commit
7b7ecf5e0d
3
ChangeLog.d/psa_crypto_user_config_file.txt
Normal file
3
ChangeLog.d/psa_crypto_user_config_file.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Bugfix
|
||||||
|
* Don't try to include MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE when
|
||||||
|
MBEDTLS_PSA_CRYPTO_CONFIG is disabled.
|
@ -88,11 +88,10 @@
|
|||||||
#else
|
#else
|
||||||
#include "psa/crypto_config.h"
|
#include "psa/crypto_config.h"
|
||||||
#endif
|
#endif
|
||||||
#endif /* defined(MBEDTLS_PSA_CRYPTO_CONFIG) */
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE)
|
#if defined(MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE)
|
||||||
#include MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE
|
#include MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* defined(MBEDTLS_PSA_CRYPTO_CONFIG) */
|
||||||
|
|
||||||
/* Auto-enable MBEDTLS_CTR_DRBG_USE_128_BIT_KEY if
|
/* Auto-enable MBEDTLS_CTR_DRBG_USE_128_BIT_KEY if
|
||||||
* MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH and MBEDTLS_CTR_DRBG_C defined
|
* MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH and MBEDTLS_CTR_DRBG_C defined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user