projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto/bn/asm/x86_64-mont.pl: minor optimization.
[oweals/openssl.git]
/
crypto
/
bn
/
bn_depr.c
diff --git
a/crypto/bn/bn_depr.c
b/crypto/bn/bn_depr.c
index 09ad52e7c63546cd0798c4210af4bfe0afec40cf..27535e4fca00810485d1a1813313d3e3b90b92e2 100644
(file)
--- a/
crypto/bn/bn_depr.c
+++ b/
crypto/bn/bn_depr.c
@@
-81,7
+81,6
@@
BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
}
else
rnd=ret;
- bn_verify(rnd);
if(!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb))
goto err;
@@
-89,7
+88,6
@@
BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
found = 1;
err:
if (!found && (ret == NULL) && (rnd != NULL)) BN_free(rnd);
- if(found) bn_verify(rnd);
return(found ? rnd : NULL);
}