diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-08-14 16:16:06 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-08-14 16:16:06 +0000 |
commit | d134e6cc38fdd9a5e0c69b83e50ed31fd51bd7bd (patch) | |
tree | 9b9a2a30a5d3c16adcea1b8786f479aa1f0af8c3 /sbin | |
parent | acede5555dd6d81e18dda1744b9e8b3a807bd344 (diff) |
Print local 'sa' variable instead of 'msg->msg_sa'.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/iked/ikev2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c index 3e992cc6107..21a6fcea24b 100644 --- a/sbin/iked/ikev2.c +++ b/sbin/iked/ikev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2.c,v 1.240 2020/08/14 16:06:59 tobhe Exp $ */ +/* $OpenBSD: ikev2.c,v 1.241 2020/08/14 16:16:05 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -4666,7 +4666,7 @@ ikev2_sa_initiator_dh(struct iked_sa *sa, struct iked_message *msg, if ((sa->sa_dhiexchange = ibuf_new(NULL, dh_getlen(sa->sa_dhgroup))) == NULL) { log_info("%s: failed to alloc dh exchange", - SPI_SA(msg->msg_sa, __func__)); + SPI_SA(sa, __func__)); return (-1); } if (dh_create_exchange(sa->sa_dhgroup, |