From 3f9186faa2031035addf982f0d1bf53e45c02860 Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Fri, 4 May 2018 12:11:34 +0100 Subject: [PATCH] GenericSecurityManager: Fix crypto_toolbox_f4 signature. The type exposed in the header file were not aligned to the one used in the implementation: ble::public_key_t instead of ble::public_key_coord_t. --- features/FEATURE_BLE/ble/generic/GenericSecurityManager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/FEATURE_BLE/ble/generic/GenericSecurityManager.h b/features/FEATURE_BLE/ble/generic/GenericSecurityManager.h index ec9ae717b0..0164376513 100644 --- a/features/FEATURE_BLE/ble/generic/GenericSecurityManager.h +++ b/features/FEATURE_BLE/ble/generic/GenericSecurityManager.h @@ -354,8 +354,8 @@ private: * @return true if cryptography functioned worked */ static bool crypto_toolbox_f4( - const public_key_t &U, - const public_key_t &V, + const public_key_coord_t &U, + const public_key_coord_t &V, const oob_lesc_value_t &X, oob_confirm_t &confirm );