mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Add missing guard around a union field
This commit is contained in:
@ -56,11 +56,13 @@ typedef struct
|
|||||||
/* EC public key or key pair */
|
/* EC public key or key pair */
|
||||||
mbedtls_ecp_keypair *ecp;
|
mbedtls_ecp_keypair *ecp;
|
||||||
#endif /* MBEDTLS_ECP_C */
|
#endif /* MBEDTLS_ECP_C */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
|
||||||
/* Any key type in a secure element */
|
/* Any key type in a secure element */
|
||||||
struct se
|
struct se
|
||||||
{
|
{
|
||||||
psa_key_slot_number_t slot_number;
|
psa_key_slot_number_t slot_number;
|
||||||
} se;
|
} se;
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
|
||||||
} data;
|
} data;
|
||||||
} psa_key_slot_t;
|
} psa_key_slot_t;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user