diff --git a/include/psa/crypto_compat.h b/include/psa/crypto_compat.h index 339ef270e1..86aa271584 100644 --- a/include/psa/crypto_compat.h +++ b/include/psa/crypto_compat.h @@ -134,10 +134,6 @@ MBEDTLS_PSA_DEPRECATED static inline psa_status_t psa_asymmetric_verify( psa_key return psa_verify_hash( key, alg, hash, hash_length, signature, signature_length ); } - - -#endif /* MBEDTLS_DEPRECATED_REMOVED */ - /* * Size-specific elliptic curve families. */ @@ -244,6 +240,8 @@ MBEDTLS_PSA_DEPRECATED static inline psa_status_t psa_asymmetric_verify( psa_key #define PSA_DH_GROUP_CUSTOM \ MBEDTLS_DEPRECATED_CONSTANT( psa_dh_family_t, PSA_DH_FAMILY_CUSTOM ) +#endif /* MBEDTLS_DEPRECATED_REMOVED */ + /** Open a handle to an existing persistent key. * * Open a handle to a persistent key. A key is persistent if it was created