Skip to content

Commit

Permalink
MACRO the size of rand
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-szczepanek-arm authored and adbridge committed Aug 13, 2018
1 parent 3bbdf34 commit dbeded5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ nRF5xSecurityManager& nRF5xSecurityManager::get_security_manager()

bool is_rand_invalid(const uint8_t* rand)
{
for (int i = 0; i < 8; ++i) {
for (int i = 0; i < BLE_GAP_SEC_RAND_LEN; ++i) {
if (rand[i]) {
return false;
}
Expand Down

0 comments on commit dbeded5

Please sign in to comment.