This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new aa7bbd6  nimble/host: Fix build with security disabled
     new 6595d33  Merge pull request #406 from sjanc/nosec_fix
aa7bbd6 is described below

commit aa7bbd6228e8b868e496ec4fa7c75775a5c55241
Author: Szymon Janc <szymon.j...@codecoup.pl>
AuthorDate: Tue Apr 2 14:06:28 2019 +0200

    nimble/host: Fix build with security disabled
---
 nimble/host/src/ble_sm_priv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/host/src/ble_sm_priv.h b/nimble/host/src/ble_sm_priv.h
index b8586e5..3f64b77 100644
--- a/nimble/host/src/ble_sm_priv.h
+++ b/nimble/host/src/ble_sm_priv.h
@@ -414,7 +414,7 @@ int ble_sm_init(void);
 #define ble_sm_connection_broken(conn_handle)
 #define ble_sm_pair_initiate(conn_handle)   BLE_HS_ENOTSUP
 #define ble_sm_slave_initiate(conn_handle)  BLE_HS_ENOTSUP
-#define ble_sm_enc_initiate(conn_handle, ltk, ediv, rand_val, auth) \
+#define ble_sm_enc_initiate(conn_handle, keysize, ltk, ediv, rand_val, auth) \
         BLE_HS_ENOTSUP
 
 #define ble_sm_init() 0

Reply via email to