diff options
author | Nils Larsch <nils@openssl.org> | 2005-03-28 15:06:29 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-03-28 15:06:29 +0000 |
commit | c01d2b974e9ed2dcc3944204b339ee50d4abb634 (patch) | |
tree | d3152a74b2f72bdd06c25dec73c963f4d7735200 /crypto | |
parent | b0ef321cc86a4ad2151d18569a5628ca2e080cc0 (diff) |
when building with OPENSSL_NO_DEPRECATED defined BN_zero is a macro
which cannot be evaluated in an if statement
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/dsa/dsa_gen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++) { |