1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Fix CA verification regression

Uninitialized bool values may evaluate to true while it should be false.
This commit is contained in:
Michael Insel 2020-03-29 16:05:29 +02:00
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);