| 1473 | } |
| 1474 | |
| 1475 | ICryptKey* SrvAuthBlock::newKey(CheckStatusWrapper* status) |
| 1476 | { |
| 1477 | status->init(); |
| 1478 | try |
| 1479 | { |
| 1480 | InternalCryptKey* k = FB_NEW InternalCryptKey; |
| 1481 | |
| 1482 | k->keyName = pluginName.c_str(); |
| 1483 | WIRECRYPT_DEBUG(fprintf(stderr, "Srv: newkey %s\n", k->keyName.c_str());) |
| 1484 | port->port_crypt_keys.push(k); |
| 1485 | newKeys.push(k); |
| 1486 | |
| 1487 | return k; |
| 1488 | } |
| 1489 | catch (const Exception& ex) |
| 1490 | { |
| 1491 | ex.stuffException(status); |
| 1492 | } |
| 1493 | return NULL; |
| 1494 | } |
| 1495 | |
| 1496 | void rem_port::versionInfo(string& version) const |
| 1497 | { |
no test coverage detected