projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0ef321
)
when building with OPENSSL_NO_DEPRECATED defined BN_zero is a macro
author
Nils Larsch
<nils@openssl.org>
Mon, 28 Mar 2005 15:06:29 +0000
(15:06 +0000)
committer
Nils Larsch
<nils@openssl.org>
Mon, 28 Mar 2005 15:06:29 +0000
(15:06 +0000)
which cannot be evaluated in an if statement
crypto/dsa/dsa_gen.c
patch
|
blob
|
history
diff --git
a/crypto/dsa/dsa_gen.c
b/crypto/dsa/dsa_gen.c
index 74da6becd558a54a5317cc37e7d55da78e19a1b2..6a6be3b57537d864aae8d49692f9abb63ee9e427 100644
(file)
--- 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++)
{