From 8957cbc53f721786e4b4db674597f79e838186d0 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 4 Nov 2019 17:27:13 -0500 Subject: Hash client passwords with crypt --- bounce.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bounce.h') diff --git a/bounce.h b/bounce.h index b8c2298..434a1f8 100644 --- a/bounce.h +++ b/bounce.h @@ -116,9 +116,7 @@ static const char Base64[64] = { "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" }; -static inline size_t base64Size(size_t len) { - return 1 + (len + 2) / 3 * 4; -} +#define BASE64_SIZE(len) (1 + ((len) + 2) / 3 * 4) static inline void base64(char *dst, const byte *src, size_t len) { size_t i = 0; -- cgit 1.4.1