Map auth_class to auth method and IKEv1 proposal attribute

This commit is contained in:
Martin Willi
2012-03-20 17:30:53 +01:00
parent eeca2af81c
commit b4e815354c
5 changed files with 31 additions and 2 deletions
@@ -473,6 +473,10 @@ static auth_cfg_t *build_auth_cfg(private_stroke_config_t *this,
{
cfg->add(cfg, AUTH_RULE_AUTH_CLASS, AUTH_CLASS_XAUTH_PSK);
}
else if (streq(auth, "xauthrsasig"))
{
cfg->add(cfg, AUTH_RULE_AUTH_CLASS, AUTH_CLASS_XAUTH_PUBKEY);
}
else if (strneq(auth, "eap", 3))
{
enumerator_t *enumerator;