mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-09 00:32:12 -04:00
JsonRpcConnection PKI: Document swalled exception
This commit is contained in:
parent
12b6c1aab9
commit
456b0779bb
1 changed files with 1 additions and 3 deletions
|
|
@ -57,9 +57,7 @@ Value RequestCertificateHandler(const MessageOrigin::Ptr& origin, const Dictiona
|
|||
|
||||
try {
|
||||
signedByCA = VerifyCertificate(cacert, cert);
|
||||
} catch (const std::exception& ex) {
|
||||
|
||||
}
|
||||
} catch (const std::exception&) { } /* Swallow the exception on purpose, cacert will never be a non-CA certificate. */
|
||||
|
||||
Log(LogInformation, "JsonRpcConnection")
|
||||
<< "Received certificate request for CN '" << cn << "'"
|
||||
|
|
|
|||
Loading…
Reference in a new issue