summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-05-06 22:45:01 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-05-06 22:45:01 +0000
commite769fb898197e70065484fb0422bb953856111e8 (patch)
tree2a7bb64b6714432429135c286b2b400c51914bc2
parentfba345cd4a599276bd393354f23aac09f53ec661 (diff)
Merge with EOM 1.17
author: niklas diagnostic
-rw-r--r--sbin/isakmpd/math_group.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sbin/isakmpd/math_group.c b/sbin/isakmpd/math_group.c
index 658fdfcf030..8df130875d6 100644
--- a/sbin/isakmpd/math_group.c
+++ b/sbin/isakmpd/math_group.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: math_group.c,v 1.6 1999/04/19 21:22:49 niklas Exp $ */
-/* $EOM: math_group.c,v 1.16 1999/04/17 23:20:38 niklas Exp $ */
+/* $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 $ */
/*
* Copyright (c) 1998 Niels Provos. All rights reserved.
@@ -201,7 +201,10 @@ group_get (int id)
struct group *new, *clone;
if (id < 1 || id > (sizeof (groups) / sizeof (groups[0])))
- return 0;
+ {
+ log_print ("group_get: group ID (%d) out of range", id);
+ return 0;
+ }
clone = &groups[id - 1];