X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/4edc47b89bc56cd4041fdb0f4e8e892acd589ed8..02dfbd5b7af7816959dbd39c1fe628451204e35f:/field-parse.c diff --git a/field-parse.c b/field-parse.c index e815a9f..5f9092a 100644 --- a/field-parse.c +++ b/field-parse.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: field-parse.c,v 1.2 2004/04/01 21:28:41 mdw Exp $ + * $Id: field-parse.c,v 1.4 2004/04/08 01:36:15 mdw Exp $ * * Parse field descriptions * @@ -27,19 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: field-parse.c,v $ - * Revision 1.2 2004/04/01 21:28:41 mdw - * Normal basis support (translates to poly basis internally). Rewrite - * EC and prime group table generators in awk, so that they can reuse data - * for repeated constants. - * - * Revision 1.1 2004/03/27 17:54:11 mdw - * Standard curves and curve checking. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "field.h" @@ -88,9 +75,9 @@ field *field_parse(qd_parse *qd) f = field_binnorm(m, b); break; default: - f = 0; - break; + goto done; } + if (!f) qd->e = "bad field parameters"; done: mp_drop(m); mp_drop(b);