summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-03 00:19:31 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-03 00:19:31 +0000
commitb51c4d11e1d4d09a51b004856e8854a29cddc6c7 (patch)
tree4a608a6276ddeecb19bb10b64ab1cf5772c8128f /src/options.c
parentadded define for anytun compat (diff)
added auth algo
tested with anytun an ANYTUN_02_COMPAT set switched defaults for kd-prf, cipher and auth algo to use crypto
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options.c b/src/options.c
index b74092b..b430eba 100644
--- a/src/options.c
+++ b/src/options.c
@@ -222,10 +222,10 @@ void options_default(options_t* opt)
opt->ifconfig_param_remote_netmask_ = NULL;
opt->post_up_script_ = NULL;
opt->seq_window_size_ = 100;
- opt->cipher_ = strdup("null");
- opt->kd_prf_ = strdup("null");
+ opt->cipher_ = strdup("aes-ctr");
+ opt->kd_prf_ = strdup("aes-ctr");
opt->ld_kdr_ = 0;
- opt->auth_algo_ = strdup("null");
+ opt->auth_algo_ = strdup("sha1");
opt->mux_ = 0;
opt->key_.buf_ = NULL;
opt->key_.length_ = 0;