Index: net/cert/internal/parse_ocsp.h |
diff --git a/net/cert/internal/parse_ocsp.h b/net/cert/internal/parse_ocsp.h |
index 6eff79840bb86c72df90edc0e372b6747054e053..ed4e063951d5f7e4e531ac7895e05850b3fa93c8 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" |
@@ -75,11 +76,6 @@ struct OCSPCertID { |
// } |
// (from RFC 5280) |
struct OCSPCertStatus { |
- enum class Status { |
- GOOD, |
- REVOKED, |
- UNKNOWN, |
- }; |
// Correspond to the values of CRLReason |
enum class RevocationReason { |
@@ -98,7 +94,7 @@ struct OCSPCertStatus { |
LAST = AA_COMPROMISE, |
}; |
- Status status; |
+ OCSPRevocationStatus status; |
der::GeneralizedTime revocation_time; |
bool has_reason; |
RevocationReason revocation_reason; |