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; |
jww
2015/09/19 02:16:34
This is more something for rsleevi@ to address, bu
Ryan Sleevi
2015/09/19 12:45:38
It's not clear why this is needed at all.
Eugene But (OOO till 7-30)
2015/09/21 17:23:40
Yeah... removed...
|
+ |
// Returns true if the specified cert status has an error set. |
static inline bool IsCertStatusError(CertStatus status) { |
return (CERT_STATUS_ALL_ERRORS & status) != 0; |