Commit c01d2b97 authored by Nils Larsch's avatar Nils Larsch
Browse files

when building with OPENSSL_NO_DEPRECATED defined BN_zero is a macro

which cannot be evaluated in an if statement
parent b0ef321c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++)
				{