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:
da867a5
)
cswift_dsa_verify() incorrectly return -1 on error.
author
Richard Levitte
<levitte@openssl.org>
Mon, 11 Sep 2000 22:15:53 +0000
(22:15 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 11 Sep 2000 22:15:53 +0000
(22:15 +0000)
crypto/engine/hw_cswift.c
patch
|
blob
|
history
diff --git
a/crypto/engine/hw_cswift.c
b/crypto/engine/hw_cswift.c
index 77608b898394af9590341091b0b42ca82e157144..3818e1ca850cda42c9caaff11828a2b9670b3b80 100644
(file)
--- a/
crypto/engine/hw_cswift.c
+++ b/
crypto/engine/hw_cswift.c
@@
-696,7
+696,7
@@
static int cswift_dsa_verify(const unsigned char *dgst, int dgst_len,
BIGNUM *dsa_g = NULL;
BIGNUM *dsa_key = NULL;
BIGNUM *argument = NULL;
- int to_return =
-1;
+ int to_return =
0; /* Expect failure */
int acquired = 0;
if((ctx = BN_CTX_new()) == NULL)