summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCrypto/NumberTheory
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-01 21:10:08 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-01 21:25:06 +0200
commit6cf59b6ae96aeeb8c0da957a07f913c4fa38467f (patch)
treeb3f1691b59c3280993d4a8c2866f821ae15c1875 /Userland/Libraries/LibCrypto/NumberTheory
parent4e6f03a860595f9eb2628e12ddbd333e26b0622f (diff)
downloadserenity-6cf59b6ae96aeeb8c0da957a07f913c4fa38467f.zip
Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr
Diffstat (limited to 'Userland/Libraries/LibCrypto/NumberTheory')
-rw-r--r--Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp b/Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp
index 77db745566..71b372fbb0 100644
--- a/Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp
+++ b/Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp
@@ -208,9 +208,7 @@ UnsignedBigInteger LCM(const UnsignedBigInteger& a, const UnsignedBigInteger& b)
GCD_without_allocation(a, b, temp_a, temp_b, temp_1, temp_2, temp_3, temp_4, temp_quotient, temp_remainder, gcd_output);
if (gcd_output == 0) {
-#if NT_DEBUG
- dbgln("GCD is zero");
-#endif
+ dbgln_if(NT_DEBUG, "GCD is zero");
return output;
}