aboutsummaryrefslogtreecommitdiff
path: root/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'base64.c')
-rw-r--r--base64.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/base64.c b/base64.c
index 7d876a6..3449ae5 100644
--- a/base64.c
+++ b/base64.c
@@ -33,7 +33,7 @@
#include "syshead.h"
-#if defined(ENABLE_HTTP_PROXY) || defined(ENABLE_PKCS11)
+#if defined(ENABLE_HTTP_PROXY) || defined(ENABLE_PKCS11) || defined(ENABLE_CLIENT_CR)
#include "base64.h"
@@ -80,8 +80,6 @@ base64_encode(const void *data, int size, char **str)
return strlen(s);
}
-#if NTLM
-
static int
pos(char c)
{
@@ -137,8 +135,6 @@ base64_decode(const char *str, void *data)
return q - (unsigned char *) data;
}
-#endif /* NTLM, PKCS#11 */
-
#else
static void dummy(void) {}
-#endif
+#endif /* ENABLE_HTTP_PROXY, ENABLE_PKCS11, ENABLE_CLIENT_CR */