Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 0d402e54a -> 198143989


BLE Host - Fix SM unit test.

This test was testing two things at once; it should only be testing one.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/80f4e7f1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/80f4e7f1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/80f4e7f1

Branch: refs/heads/develop
Commit: 80f4e7f167ba66664010bdecc6ca1690782cf88d
Parents: 0d402e5
Author: Christopher Collins <ccoll...@apache.org>
Authored: Thu Dec 1 16:39:05 2016 -0800
Committer: Christopher Collins <ccoll...@apache.org>
Committed: Thu Dec 1 16:39:05 2016 -0800

----------------------------------------------------------------------
 net/nimble/host/test/src/ble_sm_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/80f4e7f1/net/nimble/host/test/src/ble_sm_test.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/test/src/ble_sm_test.c 
b/net/nimble/host/test/src/ble_sm_test.c
index 06430ee..a98f4bb 100644
--- a/net/nimble/host/test/src/ble_sm_test.c
+++ b/net/nimble/host/test/src/ble_sm_test.c
@@ -634,7 +634,7 @@ TEST_CASE(ble_sm_test_case_us_fail_inval)
             .io_cap = 0x04,
             .oob_data_flag = 0,
             .authreq = 0x05,
-            .max_enc_key_size = 17,
+            .max_enc_key_size = 16,
             .init_key_dist = 0x07,
             .resp_key_dist = 0x10,
         },

Reply via email to