"print" is GNU bc specific.
[oweals/openssl.git] / crypto / bn / bn_rand.c
index dd6f6c9e449a89d8f9349a2476df2e4aa2b62986..943712c15b8f2e31b374f4e9af98000cfc43225b 100644 (file)
@@ -127,10 +127,10 @@ err:
 
 int     BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
        {
-       return bnrand(1, rnd, bits, top, bottom);
+       return bnrand(0, rnd, bits, top, bottom);
        }
 
 int     BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom)
        {
-       return bnrand(0, rnd, bits, top, bottom);
+       return bnrand(1, rnd, bits, top, bottom);
        }