]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fixes to prevent compile breakage when --disable-crypto is used.
authorJames Yonan <james@openvpn.net>
Tue, 16 Nov 2010 09:10:39 +0000 (09:10 +0000)
committerJames Yonan <james@openvpn.net>
Tue, 16 Nov 2010 09:10:39 +0000 (09:10 +0000)
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6656 e7ae566f-a301-0410-adde-c780ea21d3b5

base64.c
options.c

index 2cc39444e90af7ea872186214c3b49e29054908e..3449ae58a3783ef8e08cc02c49a36498918a904b 100644 (file)
--- a/base64.c
+++ b/base64.c
@@ -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 */
index 5f1efc5ddbf7d73560836011818b4871c06be1b0..b95ceb59e92ed32a4bb427e12d7b3ea446b240d5 100644 (file)
--- a/options.c
+++ b/options.c
@@ -45,6 +45,7 @@
 #include "pool.h"
 #include "helper.h"
 #include "manage.h"
+#include "forward.h"
 
 #include "memdbg.h"