| 10394 | } |
| 10395 | |
| 10396 | void ClntAuthBlock::tryNewKeys(rem_port* port) |
| 10397 | { |
| 10398 | for (unsigned k = cryptKeys.getCount(); k--; ) |
| 10399 | { |
| 10400 | if (port->tryNewKey(cryptKeys[k])) |
| 10401 | { |
| 10402 | releaseKeys(k); |
| 10403 | cryptKeys.clear(); |
| 10404 | return; |
| 10405 | } |
| 10406 | } |
| 10407 | |
| 10408 | cryptKeys.clear(); |
| 10409 | } |
| 10410 | |
| 10411 | void ClntAuthBlock::releaseKeys(unsigned from) |
| 10412 | { |
no test coverage detected