| 353 | } |
| 354 | |
| 355 | bool CLKeySearchDevice::isTargetInList(const unsigned int hash[5]) |
| 356 | { |
| 357 | size_t count = _targetList.size(); |
| 358 | |
| 359 | while(count) { |
| 360 | if(memcmp(hash, _targetList[count - 1].h, 20) == 0) { |
| 361 | return true; |
| 362 | } |
| 363 | count--; |
| 364 | } |
| 365 | |
| 366 | return false; |
| 367 | } |
| 368 | |
| 369 | void CLKeySearchDevice::removeTargetFromList(const unsigned int hash[5]) |
| 370 | { |
nothing calls this directly
no outgoing calls
no test coverage detected