opnsense-ports/security/ssss/files/patch-ssss.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
353 B
C

--- ssss.c.orig Sun Sep 9 10:24:42 2007
+++ ssss.c Sun Sep 9 10:24:48 2007
@@ -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;