mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 17:55:40 +01:00
Rename internal macro to pass check-names.sh
check-names.sh rejects MBEDTLS_XXX identifiers that are not defined in a public header.
This commit is contained in:
parent
5fe5e27591
commit
5a68056755
@ -1433,9 +1433,9 @@ psa_status_t psa_export_public_key( psa_key_handle_t handle,
|
||||
#if defined(static_assert)
|
||||
static_assert( ( MBEDTLS_PSA_KA_MASK_EXTERNAL_ONLY & MBEDTLS_PSA_KA_MASK_DUAL_USE ) == 0,
|
||||
"One or more key attribute flag is listed as both external-only and dual-use" );
|
||||
static_assert( ( MBEDTLS_PSA_KA_MASK_INTERNAL_ONLY & MBEDTLS_PSA_KA_MASK_DUAL_USE ) == 0,
|
||||
static_assert( ( PSA_KA_MASK_INTERNAL_ONLY & MBEDTLS_PSA_KA_MASK_DUAL_USE ) == 0,
|
||||
"One or more key attribute flag is listed as both external-only and dual-use" );
|
||||
static_assert( ( MBEDTLS_PSA_KA_MASK_INTERNAL_ONLY & MBEDTLS_PSA_KA_MASK_EXTERNAL_ONLY ) == 0,
|
||||
static_assert( ( PSA_KA_MASK_INTERNAL_ONLY & MBEDTLS_PSA_KA_MASK_EXTERNAL_ONLY ) == 0,
|
||||
"One or more key attribute flag is listed as both internal-only and external-only" );
|
||||
#endif
|
||||
|
||||
|
@ -68,7 +68,7 @@ typedef struct
|
||||
|
||||
/* A mask of key attribute flags used only internally.
|
||||
* Currently there aren't any. */
|
||||
#define MBEDTLS_PSA_KA_MASK_INTERNAL_ONLY ( \
|
||||
#define PSA_KA_MASK_INTERNAL_ONLY ( \
|
||||
0 )
|
||||
|
||||
/** Test whether a key slot is occupied.
|
||||
|
Loading…
Reference in New Issue
Block a user