summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/iked/ikev2.c4
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,