diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-16 16:43:42 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-16 16:44:09 +0200 |
commit | b503f74d25a72f6602484ea4b985b65679d136c0 (patch) | |
tree | 8f918eb90e8814975f7c9a7feaca646848bc2752 /Libraries | |
parent | 55bd54f91fe0a60cb3b2c20a776015e6639a5910 (diff) | |
download | serenity-b503f74d25a72f6602484ea4b985b65679d136c0.zip |
LibCrypto: Fix MB => MiB build issue
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp b/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp index 7386277d7f..0e69e0425b 100644 --- a/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp +++ b/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp @@ -293,7 +293,7 @@ UnsignedBigInteger random_number(const UnsignedBigInteger& min, const UnsignedBi auto size = range.trimmed_length() * sizeof(u32) + 2; // "+2" is intentional (see below). // Also, if we're about to crash anyway, at least produce a nice error: - ASSERT(size < 8 * MB); + ASSERT(size < 8 * MiB); u8 buf[size]; AK::fill_with_random(buf, size); UnsignedBigInteger random { buf, size }; |