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:
8c0514f
)
DSA_verify() and DSA_sign() might return -1...
author
Richard Levitte
<levitte@openssl.org>
Mon, 11 Sep 2000 22:21:38 +0000
(22:21 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 11 Sep 2000 22:21:38 +0000
(22:21 +0000)
apps/speed.c
patch
|
blob
|
history
diff --git
a/apps/speed.c
b/apps/speed.c
index dcb9bae8933753221791f97a1ee852029e8764f7..c468e33721c2a86652fb2990c82e262a798dcd4a 100644
(file)
--- a/
apps/speed.c
+++ b/
apps/speed.c
@@
-1210,7
+1210,7
@@
int MAIN(int argc, char **argv)
{
rsa_num=DSA_sign(EVP_PKEY_DSA,buf,20,buf2,
&kk,dsa_key[j]);
- if (rsa_num
=
= 0)
+ if (rsa_num
<
= 0)
{
BIO_printf(bio_err,"DSA sign failure\n");
ERR_print_errors(bio_err);
@@
-1233,7
+1233,7
@@
int MAIN(int argc, char **argv)
{
rsa_num2=DSA_verify(EVP_PKEY_DSA,buf,20,buf2,
kk,dsa_key[j]);
- if (rsa_num2
=
= 0)
+ if (rsa_num2
<
= 0)
{
BIO_printf(bio_err,"DSA verify failure\n");
ERR_print_errors(bio_err);