From eb93a6f1d80a9a01bc6a8b3495d5e7fb769b4538 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Wed, 25 May 2022 11:41:05 +0200 Subject: [PATCH] Use PSA_ALG_NONE in PSA_PAKE_OPERATION_INIT to init psa_algorithm_t Signed-off-by: Neil Armstrong --- include/psa/crypto_extra.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/psa/crypto_extra.h b/include/psa/crypto_extra.h index 8d55bc1a67..2b4b3416be 100644 --- a/include/psa/crypto_extra.h +++ b/include/psa/crypto_extra.h @@ -1852,7 +1852,7 @@ psa_status_t psa_pake_abort(psa_pake_operation_t * operation); /** Returns a suitable initializer for a PAKE operation object of type * psa_pake_operation_t. */ -#define PSA_PAKE_OPERATION_INIT {0, {0}} +#define PSA_PAKE_OPERATION_INIT {PSA_ALG_NONE, {0}} struct psa_pake_cipher_suite_s {