when building with OPENSSL_NO_DEPRECATED defined BN_zero is a macro
which cannot be evaluated in an if statement
This commit is contained in:
parent
b0ef321cc8
commit
c01d2b974e
@ -210,7 +210,7 @@ static int dsa_builtin_paramgen(DSA *ret, int bits,
|
|||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
/* step 7 */
|
/* step 7 */
|
||||||
if (!BN_zero(W)) goto err;
|
BN_zero(W);
|
||||||
/* now 'buf' contains "SEED + offset - 1" */
|
/* now 'buf' contains "SEED + offset - 1" */
|
||||||
for (k=0; k<=n; k++)
|
for (k=0; k<=n; k++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user