summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobhe <tobhe@openbsd.org>2020-05-09 19:23:17 +0000
committertobhe <tobhe@openbsd.org>2020-05-09 19:23:17 +0000
commit78d2d72943e9e42d58d107d8063973b066a88786 (patch)
treeb1fa20b6827a7f460165433541721639635ed460
parentForcibly ensure that only PSS may be used with RSA in TLS 1.3. (diff)
downloadwireguard-openbsd-78d2d72943e9e42d58d107d8063973b066a88786.tar.xz
wireguard-openbsd-78d2d72943e9e42d58d107d8063973b066a88786.zip
Log error notifications other than NO_PROPOSAL_CHOSEN
ok markus@
-rw-r--r--sbin/iked/ikev2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c
index 519bf45a80c..c5212bf5ba0 100644
--- a/sbin/iked/ikev2.c
+++ b/sbin/iked/ikev2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikev2.c,v 1.223 2020/05/02 13:01:37 tobhe Exp $ */
+/* $OpenBSD: ikev2.c,v 1.224 2020/05/09 19:23:17 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
@@ -4454,6 +4454,8 @@ ikev2_send_informational(struct iked *env, struct iked_message *msg)
print_map(msg->msg_error, ikev2_n_map));
goto done;
}
+ log_info("%s: %s", SPI_SA(sa, __func__),
+ print_map(msg->msg_error, ikev2_n_map));
if (ikev2_next_payload(pld, sizeof(*n), IKEV2_PAYLOAD_NONE) == -1)
goto done;