| Index: components/policy/core/common/cloud/cloud_policy_validator.cc
|
| diff --git a/components/policy/core/common/cloud/cloud_policy_validator.cc b/components/policy/core/common/cloud/cloud_policy_validator.cc
|
| index f7c32a1f0b5ebe8e4ab98fe3f2142683cd24509b..26cea609f330c44940cbd31c8bdbe0df8a5f04ee 100644
|
| --- a/components/policy/core/common/cloud/cloud_policy_validator.cc
|
| +++ b/components/policy/core/common/cloud/cloud_policy_validator.cc
|
| @@ -36,8 +36,10 @@ const uint8 kSHA256SignatureAlgorithm[] = {
|
| 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00
|
| };
|
|
|
| -COMPILE_ASSERT(sizeof(kSHA256SignatureAlgorithm) ==
|
| - sizeof(kSHA1SignatureAlgorithm), invalid_algorithm_size);
|
| +static_assert(sizeof(kSHA256SignatureAlgorithm) ==
|
| + sizeof(kSHA1SignatureAlgorithm),
|
| + "kSHA256SignatureAlgorithm must be the same size as "
|
| + "kSHA1SignatureAlgorithm");
|
|
|
| const int kSignatureAlgorithmSize = sizeof(kSHA1SignatureAlgorithm);
|
|
|
|
|