Loading crypto/bn/bn_prime.c +1 −1 Original line number Diff line number Diff line Loading @@ -140,6 +140,7 @@ BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, BN_CTX *ctx; int checks = BN_prime_checks_for_size(bits); BN_init(&t); ctx=BN_CTX_new(); if (ctx == NULL) goto err; if (ret == NULL) Loading @@ -148,7 +149,6 @@ BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, } else rnd=ret; BN_init(&t); loop: /* make a random number and set the top and bottom bits */ if (add == NULL) Loading Loading
crypto/bn/bn_prime.c +1 −1 Original line number Diff line number Diff line Loading @@ -140,6 +140,7 @@ BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, BN_CTX *ctx; int checks = BN_prime_checks_for_size(bits); BN_init(&t); ctx=BN_CTX_new(); if (ctx == NULL) goto err; if (ret == NULL) Loading @@ -148,7 +149,6 @@ BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, } else rnd=ret; BN_init(&t); loop: /* make a random number and set the top and bottom bits */ if (add == NULL) Loading