Index: net/cert/internal/parse_ocsp.h |
diff --git a/net/cert/internal/parse_ocsp.h b/net/cert/internal/parse_ocsp.h |
index af5541d8785b565ce9f9da3c2ffb4097bda1830d..b151f8d3cca1e0e80ce08ad3f388bac4b8b29949 100644 |
--- a/net/cert/internal/parse_ocsp.h |
+++ b/net/cert/internal/parse_ocsp.h |
@@ -12,6 +12,7 @@ |
#include "net/base/hash_value.h" |
#include "net/cert/internal/parse_certificate.h" |
#include "net/cert/internal/signature_algorithm.h" |
+#include "net/cert/ocsp_revocation_status.h" |
#include "net/der/input.h" |
#include "net/der/parse_values.h" |
#include "net/der/parser.h" |
@@ -74,11 +75,6 @@ struct OCSPCertID { |
// } |
// (from RFC 5280) |
struct OCSPCertStatus { |
- enum class Status { |
- GOOD, |
- REVOKED, |
- UNKNOWN, |
- }; |
// Correspond to the values of CRLReason |
enum class RevocationReason { |
@@ -97,7 +93,7 @@ struct OCSPCertStatus { |
LAST = AA_COMPROMISE, |
}; |
- Status status; |
+ OCSPRevocationStatus status; |
der::GeneralizedTime revocation_time; |
bool has_reason; |
RevocationReason revocation_reason; |