Mirror of BoringSSL (grpc依赖) https://boringssl.googlesource.com/boringssl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
719 B

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ocsp_verify_result.h"
namespace bssl {
OCSPVerifyResult::OCSPVerifyResult() = default;
OCSPVerifyResult::OCSPVerifyResult(const OCSPVerifyResult&) = default;
OCSPVerifyResult::~OCSPVerifyResult() = default;
bool OCSPVerifyResult::operator==(const OCSPVerifyResult& other) const {
if (response_status != other.response_status)
return false;
if (response_status == PROVIDED) {
// |revocation_status| is only defined when |response_status| is PROVIDED.
return revocation_status == other.revocation_status;
}
return true;
}
} // namespace net