mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
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;
|
||||
|
||||
/* step 7 */
|
||||
if (!BN_zero(W)) goto err;
|
||||
BN_zero(W);
|
||||
/* now 'buf' contains "SEED + offset - 1" */
|
||||
for (k=0; k<=n; k++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user