diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-11-24 22:14:32 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-11-24 22:14:32 +0000 |
commit | eb1eede9ade24d994250907f25d5bb0331f507a4 (patch) | |
tree | 73058c26f9f436b4da0f946a9d6589c60427c47e /sbin | |
parent | 6a9c88dd4a4fbaa9f7fe6ad3ca2a3185b47bed49 (diff) |
Fix duplicate sa->sa_cp assignment.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/iked/ikev2.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c index 534a63f24b3..0b9087e1630 100644 --- a/sbin/iked/ikev2.c +++ b/sbin/iked/ikev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2.c,v 1.285 2020/11/21 19:23:53 tobhe Exp $ */ +/* $OpenBSD: ikev2.c,v 1.286 2020/11/24 22:14:31 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -926,9 +926,6 @@ ikev2_ike_auth_recv(struct iked *env, struct iked_sa *sa, bzero(&msg->msg_auth, sizeof(msg->msg_auth)); } - if (msg->msg_cp) - sa->sa_cp = msg->msg_cp; - if (msg->msg_cp) { if (msg->msg_cp_addr) { sa->sa_cp_addr = msg->msg_cp_addr; |