From 9ef6972b360e5e8dd8485d25f0727cafea5e5331 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 24 Feb 2008 22:17:48 +0000 Subject: sorry forgot to add keyDerivatioFactory --- options.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'options.cpp') diff --git a/options.cpp b/options.cpp index 461e4f6..8bc4e77 100644 --- a/options.cpp +++ b/options.cpp @@ -71,7 +71,7 @@ i+=2; \ } -#define PARSE_SCALAR_CSLIST(SHORT, LONG, LIST) \ +#define PARSE_CSLIST_PARAM(SHORT, LONG, LIST) \ else if(str == SHORT || str == LONG) \ { \ if(argc < 1 || argv[i+1][0] == '-') \ @@ -174,6 +174,7 @@ void Options::printUsage() << " the remote address(tun) or netmask(tap)" << std::endl; std::cout << " [-w|--window-size] seqence number window size" << std::endl; std::cout << " [-c|--cipher] payload encryption algorithm" << std::endl; + std::cout << " [-k|--kd-prf] key derivation pseudo random function" << std::endl; std::cout << " [-a|--auth-algo] message authentication algorithm" << std::endl; } @@ -193,6 +194,7 @@ void Options::printOptions() std::cout << "ifconfig_param_remote_netmask='" << ifconfig_param_remote_netmask_ << "'" << std::endl; std::cout << "seq_window_size='" << seq_window_size_ << "'" << std::endl; std::cout << "cipher='" << cipher_ << "'" << std::endl; + std::cout << "kd-prf='" << kd_prf_ << "'" << std::endl; std::cout << "auth_algo='" << auth_algo_ << "'" << std::endl; } -- cgit v1.2.3