Bug

bodrato at mail.dm.unipi.it bodrato at mail.dm.unipi.it
Sat Jan 26 17:52:32 CET 2013


Ciao Laurent,

Il Sab, 26 Gennaio 2013 2:48 pm, Laurent Duroisin ha scritto:
> It's a crash.

You used the function gmp_randinit, the manual reads:
void gmp_randinit (gmp randstate t state, gmp randalg t alg , ... )
This function is obsolete.

I suggest you to read the manual here:
http://gmplib.org/manual/Random-State-Initialization.html
and to use the function gmp_randinit_default.

Regards,
m

-- 
http://bodrato.it/papers/



More information about the gmp-bugs mailing list