summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobhe <tobhe@cvs.openbsd.org>2021-03-16 22:50:53 +0000
committertobhe <tobhe@cvs.openbsd.org>2021-03-16 22:50:53 +0000
commit72f165bcd4d46206d9526acc629912b0e0d13d5a (patch)
tree65193a73eda261c340e51de4fccc9333b6c8644b
parent530382c2e1a8d8e19f6568bdc52b81999ff2e7a2 (diff)
Add 'grp31' alias for curve25519 as documented in iked.conf(5).
-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 }
};