diff options
author | Clavister OpenSource <opensource@clavister.com> | 2011-11-23 08:55:59 +0100 |
---|---|---|
committer | Clavister OpenSource <opensource@clavister.com> | 2012-03-20 17:30:49 +0100 |
commit | 23f4e4b42d10a914f5a480d938282916aa6c124e (patch) | |
tree | 25ca9ab8cd42b570a5343e7e9c7b2a7c24c00183 /src/libcharon/plugins/stroke/stroke_config.c | |
parent | 79e9f776dc37caf5512fc4816cd7a01159042f96 (diff) | |
download | strongswan-23f4e4b42d10a914f5a480d938282916aa6c124e.tar.bz2 strongswan-23f4e4b42d10a914f5a480d938282916aa6c124e.tar.xz |
IKEv1 XAUTH: Added ability to configure XAUTH+PSK. Added task to handle XAUTH requests. Modified task_manager_v1 to enable it to initiate new tasks immediately after finishing a response.
Diffstat (limited to 'src/libcharon/plugins/stroke/stroke_config.c')
-rw-r--r-- | src/libcharon/plugins/stroke/stroke_config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_config.c b/src/libcharon/plugins/stroke/stroke_config.c index 4a49704ef..97d2a7836 100644 --- a/src/libcharon/plugins/stroke/stroke_config.c +++ b/src/libcharon/plugins/stroke/stroke_config.c @@ -469,6 +469,10 @@ static auth_cfg_t *build_auth_cfg(private_stroke_config_t *this, { cfg->add(cfg, AUTH_RULE_AUTH_CLASS, AUTH_CLASS_PSK); } + else if (streq(auth, "xauthpsk")) + { + cfg->add(cfg, AUTH_RULE_AUTH_CLASS, AUTH_CLASS_XAUTH_PSK); + } else if (strneq(auth, "eap", 3)) { enumerator_t *enumerator; |