ikev2: Merge EAP client authentication details if EAP methods provides them

This commit is contained in:
Martin Willi
2015-03-03 14:08:00 +01:00
parent cfe7125357
commit 0c608316dd
@@ -522,6 +522,13 @@ METHOD(authenticator_t, process_server, status_t,
{
return FAILED;
}
if (this->method->get_auth)
{
auth_cfg_t *auth;
auth = this->ike_sa->get_auth_cfg(this->ike_sa, FALSE);
auth->merge(auth, this->method->get_auth(this->method), FALSE);
}
return NEED_MORE;
}