Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: net/cert/internal/parse_ocsp_unittest.cc

Issue 2100303002: Add OCSPVerifyResult for tracking stapled OCSP responses cross-platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ocsp-date-check
Patch Set: Always pass ocsp_response to verifier. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/cert/internal/parse_ocsp_unittest.cc
diff --git a/net/cert/internal/parse_ocsp_unittest.cc b/net/cert/internal/parse_ocsp_unittest.cc
index bc4e1e1ebe14930727397707a95423a472081e96..71353505cfffd97eb364f2a80eec6d605fe2f3e9 100644
--- a/net/cert/internal/parse_ocsp_unittest.cc
+++ b/net/cert/internal/parse_ocsp_unittest.cc
@@ -80,11 +80,11 @@ OCSPFailure ParseOCSP(const std::string& file_name) {
return PARSE_OCSP_SINGLE_RESPONSE;
switch (status.status) {
- case OCSPCertStatus::Status::GOOD:
+ case OCSPRevocationStatus::GOOD:
return OCSP_SUCCESS;
- case OCSPCertStatus::Status::REVOKED:
+ case OCSPRevocationStatus::REVOKED:
return OCSP_SUCCESS_REVOKED;
- case OCSPCertStatus::Status::UNKNOWN:
+ case OCSPRevocationStatus::UNKNOWN:
return OCSP_SUCCESS_UNKNOWN;
}

Powered by Google App Engine
This is Rietveld 408576698