diff options
Diffstat (limited to 'crypto/nss_util.cc')
-rw-r--r-- | crypto/nss_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc index 02c9327..5ee7c32 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")) { |