]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
child-create: Don't consider a DH group mismatch as failure as responder
authorTobias Brunner <tobias@strongswan.org>
Wed, 6 Sep 2017 14:41:42 +0000 (16:41 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 18 Sep 2017 08:51:39 +0000 (10:51 +0200)
This causes problems e.g. on Android where we handle the alert (and
reestablish the IKE_SA) even though it usually is no problem if the
peer retries with the requested group.  We don't consider it as a
failure on the initiator either.

src/libcharon/sa/ikev2/tasks/child_create.c

index cac3bc0a2391a51b327b07880d97b82b1f90fafc..4d4d72e0b01656c496d5c2104adb871ea5ce58da 100644 (file)
@@ -1377,7 +1377,6 @@ METHOD(task_t, build_r, status_t,
                        uint16_t group = htons(this->dh_group);
                        message->add_notify(message, FALSE, INVALID_KE_PAYLOAD,
                                                                chunk_from_thing(group));
-                       handle_child_sa_failure(this, message);
                        return SUCCESS;
                }
                case FAILED: