mirror of https://github.com/ARMmbed/mbed-os.git
fix missing return
parent
63887d19a8
commit
e71f452e9d
|
|
@ -181,6 +181,7 @@ public:
|
||||||
entry_handle_t correct_handle = find_entry_by_peer_ediv_rand(ediv, rand);
|
entry_handle_t correct_handle = find_entry_by_peer_ediv_rand(ediv, rand);
|
||||||
if (!correct_handle) {
|
if (!correct_handle) {
|
||||||
cb(*db_handle, NULL);
|
cb(*db_handle, NULL);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
// Note: keys should never be null as a matching entry has been retrieved
|
// Note: keys should never be null as a matching entry has been retrieved
|
||||||
SecurityEntryKeys_t* keys = read_in_entry_local_keys(correct_handle);
|
SecurityEntryKeys_t* keys = read_in_entry_local_keys(correct_handle);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue