added strictcrlpolicy command line argument
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 14 Jun 2006 12:43:51 +0000 (12:43 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 14 Jun 2006 12:43:51 +0000 (12:43 -0000)
src/starter/invokecharon.c

index a56a03b..d855754 100644 (file)
@@ -109,7 +109,11 @@ starter_start_charon (starter_config_t *cfg, bool debug)
     {
        arg[argc++] = "--use-syslog";
     }
     {
        arg[argc++] = "--use-syslog";
     }
-       
+    if (cfg->setup.strictcrlpolicy)
+    {
+       arg[argc++] = "--strictcrlpolicy";
+    }
+
     if (_charon_pid)
     {
        plog("starter_start_charon(): charon already started...");
     if (_charon_pid)
     {
        plog("starter_start_charon(): charon already started...");