summaryrefslogtreecommitdiff
path: root/dom/base/Crypto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/Crypto.cpp')
-rw-r--r--dom/base/Crypto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/Crypto.cpp b/dom/base/Crypto.cpp
index 2c72fb6692..6301fa6fd8 100644
--- a/dom/base/Crypto.cpp
+++ b/dom/base/Crypto.cpp
@@ -118,7 +118,7 @@ Crypto::GetRandomValues(JSContext* aCx, const ArrayBufferView& aArray,
void Crypto::RandomUUID(nsAString& aRetVal)
{
// NSID_LENGTH == 39 == 36 UUID chars + 2 curly braces + 1 NUL byte
- static_assert(NSID_LENGTH == 39);
+ static_assert(NSID_LENGTH == 39, "Crypto:RandomUUID: NSID_LENGTH must be 39");
nsCOMPtr<nsIUUIDGenerator> uuidgen =
do_GetService("@mozilla.org/uuid-generator;1");