summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2006-05-05 09:29:35 +0000
committerdjm <djm@openbsd.org>2006-05-05 09:29:35 +0000
commit60e8997d35a4143f07dc290eb70792bb89c6aa77 (patch)
tree87ab0e40b26ece7cfa64645477b12edb7f474cca
parentSEGVs have been fixed, so include proper expected output (diff)
downloadwireguard-openbsd-60e8997d35a4143f07dc290eb70792bb89c6aa77.tar.xz
wireguard-openbsd-60e8997d35a4143f07dc290eb70792bb89c6aa77.zip
correct correct rfc reference
-rw-r--r--sbin/isakmpd/math_group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/math_group.c b/sbin/isakmpd/math_group.c
index c942ff61f82..59d6603d831 100644
--- a/sbin/isakmpd/math_group.c
+++ b/sbin/isakmpd/math_group.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: math_group.c,v 1.29 2006/05/05 00:19:21 djm Exp $ */
+/* $OpenBSD: math_group.c,v 1.30 2006/05/05 09:29:35 djm Exp $ */
/* $EOM: math_group.c,v 1.25 2000/04/07 19:53:26 niklas Exp $ */
/*
@@ -755,7 +755,7 @@ modp_validate_public(struct group *group, math_mp_t pub_exp)
math_mp_t tmp;
/*
- * Sanity checks from RFC2409 section 2.3.1.1:
+ * Sanity checks from RFC2412 section 2.3.1.1:
* Ensure that peer does not send us <0, 0, 1, p-1 or >= p
*/
if (BN_cmp(pub_exp, BN_value_one()) != 1) /* pub_exp <= 1 */