From c01d2b974e9ed2dcc3944204b339ee50d4abb634 Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Mon, 28 Mar 2005 15:06:29 +0000 Subject: [PATCH] when building with OPENSSL_NO_DEPRECATED defined BN_zero is a macro which cannot be evaluated in an if statement --- crypto/dsa/dsa_gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/dsa/dsa_gen.c b/crypto/dsa/dsa_gen.c index 74da6becd5..6a6be3b575 100644 --- a/crypto/dsa/dsa_gen.c +++ b/crypto/dsa/dsa_gen.c @@ -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++) { -- 2.34.1