head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2007.09.09.08.12.58; author rse; state Exp; branches; next 1.1; commitid WFShG20wfgFQg2xs; 1.1 date 2007.09.07.17.29.47; author rse; state Exp; branches; next ; commitid 2pliHZdaXWiRpPws; desc @@ 1.2 log @apply vendor fix @ text @Index: Makefile --- Makefile.orig 2006-01-15 12:10:01 +0100 +++ Makefile 2007-09-09 10:11:50 +0200 @@@@ -1,8 +1,7 @@@@ all: ssss-split ssss-combine ssss.1 ssss.1.html ssss-split: ssss.c - $(CC) -W -Wall -O2 -lgmp -o ssss-split ssss.c - strip ssss-split + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ssss-split ssss.c -lgmp $(LIBS) ssss-combine: ssss-split ln -f ssss-split ssss-combine Index: ssss.c --- ssss.c.orig 2006-01-15 12:10:01 +0100 +++ ssss.c 2007-09-09 10:12:05 +0200 @@@@ -348,7 +348,7 @@@@ #define MPZ_SWAP(A, B) \ do { mpz_set(h, A); mpz_set(A, B); mpz_set(B, h); } while(0) -int restore_secret(int n, mpz_t (*A)[n], mpz_t b[]) +int restore_secret(int n, void *A, mpz_t b[]) { mpz_t (*AA)[n] = (mpz_t (*)[n])A; int i, j, k, found; @ 1.1 log @new package: ssss 0.5 (Shamir's Secret Sharing Scheme (SSSS)) @ text @d3 1 a3 1 +++ Makefile 2007-09-07 19:17:34 +0200 d14 12 @