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:
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…
x
Reference in New Issue
Block a user