/* -*-c-*-
*
- * $Id: share.c,v 1.3 2000/06/24 18:29:05 mdw Exp $
+ * $Id: share.c,v 1.4 2000/10/08 12:16:17 mdw Exp $
*
* Shamir's secret sharing
*
/*----- Revision history --------------------------------------------------*
*
* $Log: share.c,v $
+ * Revision 1.4 2000/10/08 12:16:17 mdw
+ * Use @MP_EQ@ instead of @MP_CMP@.
+ *
* Revision 1.3 2000/06/24 18:29:05 mdw
* Interface change: allow shares to be extracted from a context on demand,
* rather than building them all up-front.
ss = share_combine(&s);
share_destroy(&s);
- if (MP_CMP(sec, !=, ss)) {
+ if (!MP_EQ(sec, ss)) {
ok = 0;
fprintf(stderr, "\nbad recombination of shares\n");
};