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
1 changed files with 1 additions and 1 deletions

View File

@ -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);