Skip to content

Commit

Permalink
XXX workaround forced inclusion of config_psa.h
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Patater committed May 12, 2021
1 parent 9360e0f commit db005d0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@
#include MBEDTLS_CONFIG_FILE
#endif

/* XXX Why force this here? Shouldn't this be included by mbedtls/config.h
* already? */
#if 0
/* Translate between classic MBEDTLS_xxx feature symbols and PSA_xxx
* feature symbols. */
#include "mbedtls/config_psa.h"
#endif

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

0 comments on commit db005d0

Please sign in to comment.