Skip to content

Commit db005d0

Browse files
committed
XXX workaround forced inclusion of config_psa.h
Don't force inclusion of config_psa.h. This looks like a mistake in crypto_platform.h so far, as we don't think the config file should be used unless MBEDTLS_PSA_CRYPTO_CONFIG is set. Investigation is ongoing.
1 parent 9360e0f commit db005d0

File tree

1 file changed

+4
-0
lines changed
  • platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV/inc/psa

1 file changed

+4
-0
lines changed

platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV/inc/psa/crypto_platform.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@
4141
#include MBEDTLS_CONFIG_FILE
4242
#endif
4343

44+
/* XXX Why force this here? Shouldn't this be included by mbedtls/config.h
45+
* already? */
46+
#if 0
4447
/* Translate between classic MBEDTLS_xxx feature symbols and PSA_xxx
4548
* feature symbols. */
4649
#include "mbedtls/config_psa.h"
50+
#endif
4751

4852
/* PSA requires several types which C99 provides in stdint.h. */
4953
#include <stdint.h>

0 commit comments

Comments
 (0)