diff options
author | Antonio Quartulli | 2017-12-04 09:01:10 +0800 |
---|---|---|
committer | Gert Doering | 2017-12-04 19:12:27 +0100 |
commit | c7ca91332d330b3cbbc2a8faef4f3a3ae70048c5 (patch) | |
tree | 8ae24311de7729f15e749f0c885bffdf7a33f270 /tests | |
parent | f3fec49b1c916a701058ef2445b4c07005c30673 (diff) | |
download | openvpn-c7ca91332d330b3cbbc2a8faef4f3a3ae70048c5.zip openvpn-c7ca91332d330b3cbbc2a8faef4f3a3ae70048c5.tar.gz |
Remove ENABLE_CRYPTO
The crypto engine cannot be disabled anymore, therefore get
rid of all the related ifdefs in the code.
This change makes the code simpler and reduces our the
number of config combinations we have to test after a new
change is applied.
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <20171204010110.22091-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg16004.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit_tests/openvpn/Makefile.am | 2 | ||||
-rw-r--r-- | tests/unit_tests/openvpn/test_tls_crypt.c | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/unit_tests/openvpn/Makefile.am b/tests/unit_tests/openvpn/Makefile.am index 7b44f42..23d758b 100644 --- a/tests/unit_tests/openvpn/Makefile.am +++ b/tests/unit_tests/openvpn/Makefile.am @@ -6,9 +6,7 @@ if HAVE_LD_WRAP_SUPPORT check_PROGRAMS += argv_testdriver buffer_testdriver endif -if ENABLE_CRYPTO check_PROGRAMS += packet_id_testdriver tls_crypt_testdriver -endif TESTS = $(check_PROGRAMS) diff --git a/tests/unit_tests/openvpn/test_tls_crypt.c b/tests/unit_tests/openvpn/test_tls_crypt.c index 0a6a08f..cf40e4b 100644 --- a/tests/unit_tests/openvpn/test_tls_crypt.c +++ b/tests/unit_tests/openvpn/test_tls_crypt.c @@ -27,8 +27,6 @@ #include "config-msvc.h" #endif -#ifdef ENABLE_CRYPTO - #include "syshead.h" #include <stdio.h> @@ -268,5 +266,3 @@ main(void) { return ret; } - -#endif /* ENABLE_CRYPTO */ |