summaryrefslogtreecommitdiff
path: root/sbin/iked
diff options
context:
space:
mode:
authortobhe <tobhe@cvs.openbsd.org>2020-09-17 09:02:16 +0000
committertobhe <tobhe@cvs.openbsd.org>2020-09-17 09:02:16 +0000
commit967986e29d24df2b31ec8990078827409387f3dd (patch)
tree8ef9dc2fdf6b9f669741fa21361d7a23dfe1c758 /sbin/iked
parente701364947b14cdc2a7f0aa88a9cc45d38d8cf49 (diff)
Merge IKEV2_EXCHANGE_CREATE_CHILD_SA and IKEV2_EXCHANGE_INFORMATIONAL
cases.
Diffstat (limited to 'sbin/iked')
-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;