read mitm of the csrk key not pairing

pull/6188/head
paul-szczepanek-arm 2018-01-23 12:21:32 +00:00
parent bc1e809ca3
commit 56ea4202d7
1 changed files with 6 additions and 1 deletions

View File

@ -500,10 +500,15 @@ public:
connection_handle_t connection,
csrk_t csrk
) {
SecurityEntry_t *entry = db.get_entry(connection);
if (!entry) {
return DB_CB_ACTION_NO_UPDATE_REQUIRED;
}
_app_event_handler->signingKey(
connection,
csrk,
db.get_entry(connection)->mitm_pairing
entry->mitm_csrk
);
return DB_CB_ACTION_NO_UPDATE_REQUIRED;
}