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:
Nils Larsch 2005-03-28 15:06:29 +00:00
parent b0ef321cc8
commit c01d2b974e

View File

@ -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++)
{