aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/args.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-04-20 11:12:08 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-04-20 11:12:08 +0000
commit4841189b725ca4112cd183f7d71b37a468f5ddb5 (patch)
treed13fdccca5268615708ec71eb7bce724ba124a8d /src/starter/args.c
parentab58c17445a1122010fa23e338e60c971e08fef8 (diff)
downloadstrongswan-4841189b725ca4112cd183f7d71b37a468f5ddb5.tar.bz2
strongswan-4841189b725ca4112cd183f7d71b37a468f5ddb5.tar.xz
implementation of strictcrlpolicy=ifuri
Diffstat (limited to 'src/starter/args.c')
-rw-r--r--src/starter/args.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/starter/args.c b/src/starter/args.c
index 82e957f59..fb8424841 100644
--- a/src/starter/args.c
+++ b/src/starter/args.c
@@ -61,6 +61,12 @@ static const char *LST_sendcert[] = {
NULL
};
+static const char *LST_strict[] = {
+ "no",
+ "yes",
+ "ifuri",
+ NULL
+};
static const char *LST_dpd_action[] = {
"none",
"clear",
@@ -160,7 +166,7 @@ static const token_info_t token_info[] =
{ ARG_UINT, offsetof(starter_config_t, setup.overridemtu), NULL },
{ ARG_TIME, offsetof(starter_config_t, setup.crlcheckinterval), NULL },
{ ARG_ENUM, offsetof(starter_config_t, setup.cachecrls), LST_bool },
- { ARG_ENUM, offsetof(starter_config_t, setup.strictcrlpolicy), LST_bool },
+ { ARG_ENUM, offsetof(starter_config_t, setup.strictcrlpolicy), LST_strict },
{ ARG_ENUM, offsetof(starter_config_t, setup.nocrsend), LST_bool },
{ ARG_ENUM, offsetof(starter_config_t, setup.nat_traversal), LST_bool },
{ ARG_TIME, offsetof(starter_config_t, setup.keep_alive), NULL },