From 287e18a57c3bf4cda7dbd03fd19cb5eb85e56eb7 Mon Sep 17 00:00:00 2001 From: Treeston Date: Sun, 26 Jul 2020 05:20:41 +0200 Subject: Core/Authserver: Auth cleanup phase 1b, the "I didn't hit Stage All" commit. Sorry. (5e36bf7 follow-up) (cherry picked from commit 4f570e5d08d0338ac16aace81865c04b0605b0a5) --- src/common/Cryptography/BigNumber.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/Cryptography') diff --git a/src/common/Cryptography/BigNumber.cpp b/src/common/Cryptography/BigNumber.cpp index 613cd49ae3f..e0241c77486 100644 --- a/src/common/Cryptography/BigNumber.cpp +++ b/src/common/Cryptography/BigNumber.cpp @@ -198,7 +198,7 @@ void BigNumber::GetBytes(uint8* buf, size_t bufsize, bool littleEndian) const std::reverse(buf, buf + bufsize); #else int res = littleEndian ? BN_bn2lebinpad(_bn, buf, bufsize) : BN_bn2binpad(_bn, buf, bufsize); - ASSERT(res > 0, "Buffer of size %zu is too small to hold bignum with %zu bytes.\n", bufsize, BN_num_bytes(_bn)); + ASSERT(res > 0, "Buffer of size %zu is too small to hold bignum with %d bytes.\n", bufsize, BN_num_bytes(_bn)); #endif } -- cgit v1.2.3