MACRO the size of rand

pull/7753/head
paul-szczepanek-arm 2018-08-08 14:26:31 +01:00 committed by adbridge
parent 3bbdf3446d
commit dbeded5fbb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}