Fixes to prevent compile breakage when --disable-crypto is used.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6656 e7ae566f-a301-0410-adde-c780ea21d3b5
This commit is contained in:
James Yonan 2010-11-16 09:10:39 +00:00
parent b2dee7d568
commit 2d12eb12cf
2 changed files with 2 additions and 5 deletions

View file

@ -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 */

View file

@ -45,6 +45,7 @@
#include "pool.h"
#include "helper.h"
#include "manage.h"
#include "forward.h"
#include "memdbg.h"