summaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.cpp')
-rw-r--r--src/options.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/options.cpp b/src/options.cpp
index 94e3c44..7d01d49 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -179,6 +179,7 @@ Options::Options() : key_(u_int32_t(0)), salt_(u_int32_t(0))
mux_ = 0;
seq_window_size_ = 0;
+#if !defined(ANYCONF_OPTIONS)
#ifndef NO_CRYPT
cipher_ = "aes-ctr";
auth_algo_ = "sha1";
@@ -190,6 +191,12 @@ Options::Options() : key_(u_int32_t(0)), salt_(u_int32_t(0))
auth_tag_length_ = 0;
kd_prf_ = "null";
#endif
+#else
+ cipher_ = "null";
+ auth_algo_ = "null";
+ auth_tag_length_ = 0;
+ kd_prf_ = "null";
+#endif
role_ = ROLE_LEFT;
anytun02_compat_ = false;
}