diff --git a/mbedtls-sys/vendor/library/psa_crypto_driver_wrappers.c b/mbedtls-sys/vendor/library/psa_crypto_driver_wrappers.c index 6cf23cef..88e9b8cb 100644 --- a/mbedtls-sys/vendor/library/psa_crypto_driver_wrappers.c +++ b/mbedtls-sys/vendor/library/psa_crypto_driver_wrappers.c @@ -23,6 +23,8 @@ #include "psa_crypto_driver_wrappers.h" #include "mbedtls/platform.h" +#if defined(MBEDTLS_PSA_CRYPTO_C) + #if defined(MBEDTLS_PSA_CRYPTO_DRIVERS) /* Include test driver definition when running tests */ @@ -1067,3 +1069,5 @@ psa_status_t psa_driver_wrapper_cipher_abort( } /* End of automatically generated file. */ + +#endif /* MBEDTLS_PSA_CRYPTO_C */