mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fixed error on BASEXX_NOPAD LEN and BUFSIZE macros #21872
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user