MACRO the size of rand

pull/7688/head
paul-szczepanek-arm 2018-08-08 14:26:31 +01:00
parent c1ce511dff
commit cbf1776f14
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;
}