From bf672336ae48d5a7ab3f9d2d0abefb5456d7db42 Mon Sep 17 00:00:00 2001 From: Antonio de Angelis Date: Tue, 30 Nov 2021 12:21:44 +0000 Subject: [PATCH] Align function parameter names for mbedtls_set_key_owner_id in PSA headers static function mbedtls_set_key_owner() is declared in psa/crypto.h and defined in psa/crypto_struct.h with different parameter name for the mbedtls_key_owner_id_t parameter and that may trigger errors from static code analysis tool as cppcheck. Signed-off-by: Antonio de Angelis --- include/psa/crypto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/psa/crypto.h b/include/psa/crypto.h index 877c19bfa..b0b57c3a6 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -159,10 +159,10 @@ static void psa_set_key_id( psa_key_attributes_t *attributes, * the owner of a key. * * \param[out] attributes The attribute structure to write to. - * \param owner_id The key owner identifier. + * \param owner The key owner identifier. */ static void mbedtls_set_key_owner_id( psa_key_attributes_t *attributes, - mbedtls_key_owner_id_t owner_id ); + mbedtls_key_owner_id_t owner ); #endif /** Set the location of a persistent key.