Fix possible error in initalizing key agreement iop struct

Signed-off-by: Waleed Elmelegy <[email protected]>
This commit is contained in:
Waleed Elmelegy
2024-11-06 16:03:49 +00:00
parent a98aeaff25
commit 842213811d
+1 -1
View File
@@ -518,7 +518,7 @@ struct psa_key_agreement_iop_s {
#if defined(MBEDTLS_PSA_CRYPTO_CLIENT) && !defined(MBEDTLS_PSA_CRYPTO_C)
#define PSA_KEY_AGREEMENT_IOP_INIT { 0 }
#else
#define PSA_KEY_AGREEMENT_IOP_INIT { 0, { 0 }, 0, { 0 }, 0 }
#define PSA_KEY_AGREEMENT_IOP_INIT { 0, { 0 }, 0, PSA_KEY_ATTRIBUTES_INIT, 0 }
#endif
static inline struct psa_key_agreement_iop_s