aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pinto <danielpinto52@gmail.com>2017-05-17 00:22:11 +0100
committerDaniel Pinto <danielpinto52@gmail.com>2017-05-17 00:22:11 +0100
commite04da2828d6bbf1499d3df5ba85a8baf4c485bb7 (patch)
treec0ac4ce51b7be2a92f7ba9653abd8192797fef7d
parentbbeba2412e58501da4097409258d329ca97edb2e (diff)
downloadtor-e04da2828d6bbf1499d3df5ba85a8baf4c485bb7.tar.gz
tor-e04da2828d6bbf1499d3df5ba85a8baf4c485bb7.zip
Fixed error on BASEXX_NOPAD LEN and BUFSIZE macros #21872
-rw-r--r--src/common/util_format.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/util_format.h b/src/common/util_format.h
index adf48c0077..4af8832bbe 100644
--- a/src/common/util_format.h
+++ b/src/common/util_format.h
@@ -23,11 +23,11 @@
#define BASE32_BUFSIZE(n) (BASE32_LEN(n) + 1)
#define BASE16_BUFSIZE(n) (BASE16_LEN(n) + 1)
-#define BASE64_NOPAD_LEN(n) (CEIL_DIV((n) * 4, 3)
-#define BASE32_NOPAD_LEN(n) (CEIL_DIV((n) * 8, 5)
+#define BASE64_NOPAD_LEN(n) (CEIL_DIV((n) * 4, 3))
+#define BASE32_NOPAD_LEN(n) (CEIL_DIV((n) * 8, 5))
-#define BASE64_NOPAD_BUFSIZE(n) (BASE64_NOPAD_LEN(n) + 1))
-#define BASE32_NOPAD_BUFSIZE(n) (BASE32_NOPAD_LEN(n) + 1))
+#define BASE64_NOPAD_BUFSIZE(n) (BASE64_NOPAD_LEN(n) + 1)
+#define BASE32_NOPAD_BUFSIZE(n) (BASE32_NOPAD_LEN(n) + 1)
/** @} */
#define BASE64_ENCODE_MULTILINE 1