- CertValidationResponse bug: The CertValidationResponse::RecvdError::id is
not intialized in constructors
- Inside Ssl::CertValidationMsg::parseResponse, after parsing response run
through the parsed errors for errors.
}
/*Run through parsed errors to check for errors*/
+ typedef Ssl::CertValidationResponse::RecvdErrors::const_iterator SVCRECI;
+ for (SVCRECI i = resp.errors.begin(); i != resp.errors.end(); ++i) {
+ if (i->error_no != SSL_ERROR_NONE) {
+ debugs(83, DBG_IMPORTANT, "WARNING: cert validator incomplete response: Missing error name from error_id: " << i->id);
+ return false;
+ }
+ }
return true;
}
Ssl::CertValidationResponse::RecvdError::RecvdError(const RecvdError &old)
{
+ id = old.id;
error_no = old.error_no;
error_reason = old.error_reason;
setCert(old.cert.get());
Ssl::CertValidationResponse::RecvdError & Ssl::CertValidationResponse::RecvdError::operator = (const RecvdError &old)
{
+ id = old.id;
error_no = old.error_no;
error_reason = old.error_reason;
setCert(old.cert.get());