Skip to content

Commit c828e9d

Browse files
committed
Fix build with esp32c2
1 parent b93492a commit c828e9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/nimble/nimble/host/src/ble_sm_alg.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,12 +614,14 @@ ble_sm_alg_gen_dhkey(const uint8_t *peer_pub_key_x, const uint8_t *peer_pub_key_
614614
}
615615
#endif
616616

617+
#if !CONFIG_BT_LE_CONTROLLER_NPL_OS_PORTING_SUPPORT
617618
/* based on Core Specification 4.2 Vol 3. Part H 2.3.5.6.1 */
618619
static const uint8_t ble_sm_alg_dbg_priv_key[32] = {
619620
0x3f, 0x49, 0xf6, 0xd4, 0xa3, 0xc5, 0x5f, 0x38, 0x74, 0xc9, 0xb3, 0xe3,
620621
0xd2, 0x10, 0x3f, 0x50, 0x4a, 0xff, 0x60, 0x7b, 0xeb, 0x40, 0xb7, 0x99,
621622
0x58, 0x99, 0xb8, 0xa6, 0xcd, 0x3c, 0x1a, 0xbd
622623
};
624+
#endif
623625

624626
#if MYNEWT_VAL(BLE_SM_SC_DEBUG_KEYS)
625627
static const uint8_t ble_sm_alg_dbg_pub_key[64] = {

0 commit comments

Comments
 (0)