mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 16:14:09 +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);
|
String cn = GetCertificateCN(cert);
|
||||||
|
|
||||||
bool signedByCA;
|
bool signedByCA = false;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
signedByCA = VerifyCertificate(cacert, cert);
|
signedByCA = VerifyCertificate(cacert, cert);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user