Index: crypto/nss_util.cc |
diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc |
index 02c932711968761233e0217bea0ccf3507ffbff6..5ee7c320f5c04cc84472d3b43a5cb07ab9346576 100644 |
--- a/crypto/nss_util.cc |
+++ b/crypto/nss_util.cc |
@@ -659,11 +659,11 @@ class NSSInitSingleton { |
EnsureNSPRInit(); |
// We *must* have NSS >= 3.14.3. |
- COMPILE_ASSERT( |
+ static_assert( |
(NSS_VMAJOR == 3 && NSS_VMINOR == 14 && NSS_VPATCH >= 3) || |
(NSS_VMAJOR == 3 && NSS_VMINOR > 14) || |
(NSS_VMAJOR > 3), |
- nss_version_check_failed); |
+ "nss version check failed"); |
// Also check the run-time NSS version. |
// NSS_VersionCheck is a >= check, not strict equality. |
if (!NSS_VersionCheck("3.14.3")) { |