mirror of https://github.com/Icinga/icinga2.git
JsonRpcConnection PKI: Document swalled exception
This commit is contained in:
parent
12b6c1aab9
commit
456b0779bb
|
@ -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 New Issue