X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/34e4f738bcba58e6d8c4cabbb0b3232a65b42a9d..02dfbd5b7af7816959dbd39c1fe628451204e35f:/group-parse.c diff --git a/group-parse.c b/group-parse.c index 47998c6..1c0d614 100644 --- a/group-parse.c +++ b/group-parse.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: group-parse.c,v 1.1 2004/04/01 12:50:09 mdw Exp $ + * $Id: group-parse.c,v 1.3 2004/04/08 01:36:15 mdw Exp $ * * Parse group description strings * @@ -26,18 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: group-parse.c,v $ - * Revision 1.1 2004/04/01 12:50:09 mdw - * Add cyclic group abstraction, with test code. Separate off exponentation - * functions for better static linking. Fix a buttload of bugs on the way. - * Generally ensure that negative exponents do inversion correctly. Add - * table of standard prime-field subgroups. (Binary field subgroups are - * currently unimplemented but easy to add if anyone ever finds a good one.) - * - */ - /*----- Header files ------------------------------------------------------*/ #include "group.h" @@ -78,6 +66,7 @@ group *group_parse(qd_parse *qd) g = group_ec(&ei); } break; } + if (!g) qd->e = "bad group parameters"; return (g); }