summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobhe <tobhe@openbsd.org>2020-09-17 09:02:15 +0000
committertobhe <tobhe@openbsd.org>2020-09-17 09:02:15 +0000
commitfb95e213199fed4ec042322648fc00f6fbdedc2e (patch)
tree3d151eb52c26d68579d74b5b96267f773e3253df
parentAdd a comment saying that the public function NAME_CONSTRAINTS_check(3) (diff)
downloadwireguard-openbsd-fb95e213199fed4ec042322648fc00f6fbdedc2e.tar.xz
wireguard-openbsd-fb95e213199fed4ec042322648fc00f6fbdedc2e.zip
Merge IKEV2_EXCHANGE_CREATE_CHILD_SA and IKEV2_EXCHANGE_INFORMATIONAL
cases.
-rw-r--r--sbin/iked/ikev2.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c
index 25adc60432d..3fc5564b50e 100644
--- a/sbin/iked/ikev2.c
+++ b/sbin/iked/ikev2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikev2.c,v 1.256 2020/09/16 21:37:35 tobhe Exp $ */
+/* $OpenBSD: ikev2.c,v 1.257 2020/09/17 09:02:15 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
@@ -2531,9 +2531,6 @@ ikev2_resp_recv(struct iked *env, struct iked_message *msg,
}
break;
case IKEV2_EXCHANGE_CREATE_CHILD_SA:
- if (ikev2_msg_valid_ike_sa(env, hdr, msg) == -1)
- return;
- break;
case IKEV2_EXCHANGE_INFORMATIONAL:
if (ikev2_msg_valid_ike_sa(env, hdr, msg) == -1)
return;