diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-08-04 12:55:09 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-08-04 12:58:53 +0200 |
commit | 83628fd60072e13bbb1ed19f6fdb51bf26f6b245 (patch) | |
tree | 02333e48809980fe5e33477af96d78dc6ee34cf3 | |
parent | 8e7920eea15aa1fd0a8e840bd06772b96eebde03 (diff) | |
download | strongswan-83628fd60072e13bbb1ed19f6fdb51bf26f6b245.tar.bz2 strongswan-83628fd60072e13bbb1ed19f6fdb51bf26f6b245.tar.xz |
Accept EAP_ONLY_AUTHENTICATION notifies from any client, now that IANA allocated an ID.
-rw-r--r-- | src/libcharon/sa/tasks/ike_auth.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcharon/sa/tasks/ike_auth.c b/src/libcharon/sa/tasks/ike_auth.c index a954782f2..95f87eb0d 100644 --- a/src/libcharon/sa/tasks/ike_auth.c +++ b/src/libcharon/sa/tasks/ike_auth.c @@ -481,9 +481,8 @@ static status_t process_r(private_ike_auth_t *this, message_t *message) { this->ike_sa->enable_extension(this->ike_sa, EXT_MULTIPLE_AUTH); } - if (this->ike_sa->supports_extension(this->ike_sa, EXT_STRONGSWAN) && - message->get_notify(message, EAP_ONLY_AUTHENTICATION)) - { /* EAP-only has no official notify, accept only from strongSwan */ + if (message->get_notify(message, EAP_ONLY_AUTHENTICATION)) + { this->ike_sa->enable_extension(this->ike_sa, EXT_EAP_ONLY_AUTHENTICATION); } |