]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fixed compiling issues when using --disable-crypto
authorJames Yonan <james@openvpn.net>
Sun, 14 Nov 2010 22:38:47 +0000 (23:38 +0100)
committerDavid Sommerseth <davids@redhat.com>
Fri, 25 Mar 2011 08:38:28 +0000 (09:38 +0100)
Peter Korsgaard <jacmet@sunsite.dk> reported an issue [1] when compiling
with --disable-crypto activated.  He suggested a patch, which only
partly solved the issue.  SVN r6568 / commit 3cf9dd88fd84108 added a
new feature which further made it impossible to compile without crypto.

This patch fixes both issues, based on Peter Korsgaard's patch.

[1] <http://sourceforge.net/mailarchive/forum.php?thread_name=87fwx08bod.fsf%40macbook.be.48ers.dk&forum_name=openvpn-devel>

Signed-off-by: James Yonan <james@openvpn.net>
Acked-by: David Sommerseth <dazo@users.sourceforge.net>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
options.c

index 4c28a8f7b8ba653cbf261612246c6603d366e30b..4f6434b89997814ea5dc278fc1bf0c23c8670b81 100644 (file)
--- a/options.c
+++ b/options.c
@@ -50,6 +50,7 @@
 #include "manage.h"
 #include "forward.h"
 #include "configure.h"
+#include "forward.h"
 #include <ctype.h>
 
 #include "memdbg.h"