From e2b6866e0bc83a33fc6e168f1586a49e52b353ef 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 ee4b54cbf..1643b2e35 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -153,10 +153,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.