mirror of https://github.com/Icinga/icinga2.git
Fix CA verification regression
Uninitialized bool values may evaluate to true while it should be false.
This commit is contained in:
parent
2ab08a8d96
commit
51e534ff4c
|
@ -53,7 +53,7 @@ Value RequestCertificateHandler(const MessageOrigin::Ptr& origin, const Dictiona
|
|||
|
||||
String cn = GetCertificateCN(cert);
|
||||
|
||||
bool signedByCA;
|
||||
bool signedByCA = false;
|
||||
|
||||
try {
|
||||
signedByCA = VerifyCertificate(cacert, cert);
|
||||
|
|
Loading…
Reference in New Issue