| 1347 | } |
| 1348 | |
| 1349 | bool rem_port::tryNewKey(InternalCryptKey* cryptKey) |
| 1350 | { |
| 1351 | for (unsigned t = 0; t < port_known_server_keys.getCount(); ++t) |
| 1352 | { |
| 1353 | if (tryKeyType(port_known_server_keys[t], cryptKey)) |
| 1354 | { |
| 1355 | return true; |
| 1356 | } |
| 1357 | } |
| 1358 | |
| 1359 | port_crypt_keys.push(cryptKey); |
| 1360 | return false; |
| 1361 | } |
| 1362 | |
| 1363 | bool rem_port::tryKeyType(const KnownServerKey& srvKey, InternalCryptKey* cryptKey) |
| 1364 | { |
no test coverage detected