Skip to content
Permalink
Browse files

test/security_manager: fix test - no hashes are calculated on connect

  • Loading branch information...
mringwal committed May 17, 2019
1 parent 1d927f3 commit b2bfd6ae96b3cb02b74bf13830010cfb47d37c8b
Showing with 0 additions and 16 deletions.
  1. +0 −16 test/security_manager/security_manager.c
@@ -35,10 +35,6 @@ uint8_t test_command_packet_02[] = {
0x17, 0x20, 0x20, 0x9f, 0x9e, 0x9d, 0x9c, 0x9b, 0x9a, 0x99, 0x98, 0x97, 0x96, 0x95, 0x94, 0x93,
0x92, 0x91, 0x90, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, };
uint8_t test_command_packet_02a[] = {
0x17, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x68, 0xc9, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00 };
uint8_t test_acl_packet_03[] = {
0x40, 0x00, 0x0b, 0x00, 0x07, 0x00, 0x06, 0x00, 0x02, 0x03, 0x00, 0x01, 0x10, 0x07, 0x07, };
uint8_t test_command_packet_04[] = {
@@ -313,18 +309,6 @@ TEST(SecurityManager, MainTest){

mock_simulate_connected();

CHECK_HCI_COMMAND(test_command_packet_02a);
aes128_report_result();

CHECK_HCI_COMMAND(test_command_packet_02a);
aes128_report_result();

CHECK_HCI_COMMAND(test_command_packet_02a);
aes128_report_result();

CHECK_HCI_COMMAND(test_command_packet_02a);
aes128_report_result();

uint8_t test_pairing_request_command[] = { 0x01, 0x04, 0x00, 0x01, 0x10, 0x07, 0x07 };
mock_simulate_sm_data_packet(&test_pairing_request_command[0], sizeof(test_pairing_request_command));

0 comments on commit b2bfd6a

Please sign in to comment.
You can’t perform that action at this time.