On Fri, 17 Apr 1998, Hamdi Tounsi wrote:
> 
> if ((p = BN_new()) == NULL)
>       return;
> 
> while(1) {
> BN_rand(p,16,0,1);
> j=BN_is_prime(p,BN_prime_checks,NULL,NULL,NULL);
> }
> 
> if crashes also for integers larger than 16 bits (but it takes longer to
> crash)

hmm... so it does, I'll see if I can fix it.

If nothing else, it should not core dump.  It is propably related to
being smaller than the elements in the sieve I use.

eric

+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/  |
+-------------------------------------------------------------------------+

Reply via email to