From a3e710fbd44ca8a0f4840b4e3366c6fc946ecfc5 Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Thu, 27 Dec 2007 11:57:12 +0000 Subject: * cypher and auth-algo selectable via commandline * libgcrypt uses secure memory now * a few bugfixes --- options.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'options.cpp') diff --git a/options.cpp b/options.cpp index 0bf39db..1158c98 100644 --- a/options.cpp +++ b/options.cpp @@ -103,8 +103,8 @@ Options::Options() ifconfig_param_local_ = "192.168.200.1"; ifconfig_param_remote_netmask_ = "255.255.255.0"; seq_window_size_ = 100; - cypher_ = "null"; - auth_algo_ = "null"; + cypher_ = "aes"; + auth_algo_ = "sha1"; } bool Options::parse(int argc, char* argv[]) @@ -171,8 +171,8 @@ void Options::printUsage() std::cout << " [-n|--ifconfig] the local address for the tun/tap device" << std::endl << " the remote address(tun) or netmask(tap)" << std::endl; std::cout << " [-w|--window-size] seqence number window size" << std::endl; - std::cout << " [-c|--cypher] type of cypher" << std::endl; - std::cout << " [-a|--auth-algo] authentication algoritm" << std::endl; + std::cout << " [-c|--cypher] payload encryption algorithm" << std::endl; + std::cout << " [-a|--auth-algo] message authentication algorithm" << std::endl; } void Options::printOptions() -- cgit v1.2.3