summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authortobhe <tobhe@openbsd.org>2021-03-16 22:50:52 +0000
committertobhe <tobhe@openbsd.org>2021-03-16 22:50:52 +0000
commitf682ae62a6d2c41898b9bc3082642b0fdc0077ea (patch)
tree15db4a097428d18261fcb2c546298b506f21c882 /sbin
parentNode without a "status" property should be considered enabled as well. (diff)
downloadwireguard-openbsd-f682ae62a6d2c41898b9bc3082642b0fdc0077ea.tar.xz
wireguard-openbsd-f682ae62a6d2c41898b9bc3082642b0fdc0077ea.zip
Add 'grp31' alias for curve25519 as documented in iked.conf(5).
Diffstat (limited to 'sbin')
-rw-r--r--sbin/iked/parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/iked/parse.y b/sbin/iked/parse.y
index 2b73a6b8a49..72a171af089 100644
--- a/sbin/iked/parse.y
+++ b/sbin/iked/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.129 2021/03/05 22:03:51 tobhe Exp $ */
+/* $OpenBSD: parse.y,v 1.130 2021/03/16 22:50:52 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
@@ -278,6 +278,7 @@ const struct ipsec_xf groupxfs[] = {
{ "brainpool512", IKEV2_XFORMDH_BRAINPOOL_P512R1 },
{ "grp30", IKEV2_XFORMDH_BRAINPOOL_P512R1 },
{ "curve25519", IKEV2_XFORMDH_CURVE25519 },
+ { "grp31", IKEV2_XFORMDH_CURVE25519 },
{ NULL }
};