Index: net/cert/cert_status_flags.h |
diff --git a/net/cert/cert_status_flags.h b/net/cert/cert_status_flags.h |
index a766595fd0593f6ae31b9b48119ff8456d442b6b..2564ffa4bb0bcd2616976b70e103471f75ca75b7 100644 |
--- a/net/cert/cert_status_flags.h |
+++ b/net/cert/cert_status_flags.h |
@@ -25,6 +25,8 @@ typedef uint32_t CertStatus; |
static const CertStatus CERT_STATUS_ALL_ERRORS = 0xFFFF; |
+static const CertStatus CERT_STATUS_NON_ERROR_STATUSES = 0xFFFF << 16; |
+ |
// Returns true if the specified cert status has an error set. |
static inline bool IsCertStatusError(CertStatus status) { |
return (CERT_STATUS_ALL_ERRORS & status) != 0; |