Sanity.
authorjbj <devnull@localhost>
Fri, 2 May 2003 21:50:23 +0000 (21:50 +0000)
committerjbj <devnull@localhost>
Fri, 2 May 2003 21:50:23 +0000 (21:50 +0000)
CVS patchset: 6808
CVS date: 2003/05/02 21:50:23

python/rpmrng-py.c

index b0d9986..a254574 100644 (file)
@@ -230,7 +230,11 @@ rng_Prime(rngObject * s, PyObject * args)
        mpbzero(b);
        if (trials <= 2)
            trials = mpptrials(pbits);
+#if 1
        mpprnd_w(b, rc, pbits, trials, (const mpnumber*) 0, temp);
+#else
+       mpprndsafe_w(b, rc, pbits, trials, temp);
+#endif
        mpnset(&z->n, b->size, b->modl);
 
 if (_rng_debug)