summaryrefslogtreecommitdiff
path: root/sbin/iked/ikev2.c
diff options
context:
space:
mode:
authortobhe <tobhe@cvs.openbsd.org>2020-07-16 17:38:25 +0000
committertobhe <tobhe@cvs.openbsd.org>2020-07-16 17:38:25 +0000
commit9be5d82efd70d5c0ac67a96946167f028d872781 (patch)
treeec11d153200cecfb87ccb36ecce4535b047617c6 /sbin/iked/ikev2.c
parente58c9d4ce51a27c540b5596ab52d8d40972bd4c8 (diff)
Remove unused assignment.
Diffstat (limited to 'sbin/iked/ikev2.c')
-rw-r--r--sbin/iked/ikev2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c
index e4878301c4d..501b94574da 100644
--- a/sbin/iked/ikev2.c
+++ b/sbin/iked/ikev2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikev2.c,v 1.235 2020/07/16 17:16:17 tobhe Exp $ */
+/* $OpenBSD: ikev2.c,v 1.236 2020/07/16 17:38:24 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
@@ -1643,7 +1643,6 @@ ikev2_add_ts_payload(struct ibuf *buf, unsigned int type, struct iked_sa *sa)
if ((tsp = ibuf_advance(buf, sizeof(*tsp))) == NULL)
return (-1);
- tsp->tsp_count = pol->pol_nflows;
len = sizeof(*tsp);
if (type == IKEV2_PAYLOAD_TSi) {