Index: net/cert/internal/nist_pkits_unittest.cc |
diff --git a/net/cert/internal/nist_pkits_unittest.cc b/net/cert/internal/nist_pkits_unittest.cc |
index 89807099dac6d707768723dde8ab9c68f651aa8d..6697ded9056dc5850cac6cc31ca98f5b5a293256 100644 |
--- a/net/cert/internal/nist_pkits_unittest.cc |
+++ b/net/cert/internal/nist_pkits_unittest.cc |
@@ -57,15 +57,18 @@ PkitsTestInfo::PkitsTestInfo() { |
} |
void PkitsTestInfo::SetInitialExplicitPolicy(bool b) { |
- initial_explicit_policy = b; |
+ initial_explicit_policy = |
+ b ? InitialExplicitPolicy::kTrue : InitialExplicitPolicy::kFalse; |
} |
void PkitsTestInfo::SetInitialPolicyMappingInhibit(bool b) { |
- initial_policy_mapping_inhibit = b; |
+ initial_policy_mapping_inhibit = b ? InitialPolicyMappingInhibit::kTrue |
+ : InitialPolicyMappingInhibit::kFalse; |
} |
void PkitsTestInfo::SetInitialInhibitAnyPolicy(bool b) { |
- initial_inhibit_any_policy = b; |
+ initial_inhibit_any_policy = |
+ b ? InitialAnyPolicyInhibit::kTrue : InitialAnyPolicyInhibit::kFalse; |
} |
PkitsTestInfo::~PkitsTestInfo() = default; |