summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/math_group.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/sbin/isakmpd/math_group.c b/sbin/isakmpd/math_group.c
index 8df130875d6..df297f62ff0 100644
--- a/sbin/isakmpd/math_group.c
+++ b/sbin/isakmpd/math_group.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: math_group.c,v 1.7 1999/05/06 22:45:00 niklas Exp $ */
-/* $EOM: math_group.c,v 1.17 1999/05/04 18:45:24 niklas Exp $ */
+/* $OpenBSD: math_group.c,v 1.8 1999/06/02 06:30:13 niklas Exp $ */
+/* $EOM: math_group.c,v 1.19 1999/05/28 19:51:45 niklas Exp $ */
/*
* Copyright (c) 1998 Niels Provos. All rights reserved.
@@ -82,6 +82,7 @@ struct modp_group {
#define OAKLEY_GRP_2 2
#define OAKLEY_GRP_3 3
#define OAKLEY_GRP_4 4
+#define OAKLEY_GRP_5 5
/* Describe preconfigured MODP groups */
@@ -108,6 +109,17 @@ struct modp_dscr oakley_modp[] =
"EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381"
"FFFFFFFFFFFFFFFF",
"0x02"
+ },
+ { OAKLEY_GRP_5, 102, /* This group is yet a bit better, but non-standard */
+ "0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD1"
+ "29024E088A67CC74020BBEA63B139B22514A08798E3404DD"
+ "EF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245"
+ "E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED"
+ "EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3D"
+ "C2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F"
+ "83655D23DCA3AD961C62F356208552BB9ED529077096966D"
+ "670C354E4ABC9804F1746C08CA237327FFFFFFFFFFFFFFFF",
+ "0x02"
}
};