Fix an inverted condition in the previous commit.

This commit is contained in:
Sadie Powell 2021-04-12 14:13:13 +01:00
parent 1d9936943e
commit ad8f880e30

View File

@ -82,9 +82,9 @@ class SSLCertExt : public ExtensionItem
<< " ";
if (cert->GetError().empty())
value << cert->GetError();
else
value << cert->GetFingerprint() << " " << cert->GetDN() << " " << cert->GetIssuer();
else
value << cert->GetError();
return value.str();
}