From 23b346d353b60c30ed3641cda86aa931b64feaf2 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Tue, 15 Sep 2020 21:22:41 +0200 Subject: [PATCH] [base64] This if is not needed --- src/util/base64.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/util/base64.c b/src/util/base64.c index 7fafa208..1fe34b81 100644 --- a/src/util/base64.c +++ b/src/util/base64.c @@ -63,10 +63,6 @@ base64_encode_bin(register unsigned char *in, int inlen, int *outlen) return outstr; } -/* Base64 decoding is used only with the CONFIG_FORMHIST, CONFIG_GSSAPI or CONFIG_DATA - feature, so i'll #ifdef it */ -#if defined(CONFIG_FORMHIST) || defined(CONFIG_GSSAPI) || defined(CONFIG_DATA) - unsigned char * base64_decode(register unsigned char *in) { @@ -159,5 +155,3 @@ decode_error: mem_free(outstr); return NULL; } - -#endif /* CONFIG_FORMHIST */