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:
5ef8093
)
siglen is unsigned, so comparing it to less than 0 is silly, and
author
Richard Levitte
<levitte@openssl.org>
Sun, 17 Sep 2000 18:08:38 +0000
(18:08 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 17 Sep 2000 18:08:38 +0000
(18:08 +0000)
generates a compiler warning with Compaq C.
apps/dgst.c
patch
|
blob
|
history
diff --git
a/apps/dgst.c
b/apps/dgst.c
index a151fb84576accc1a81cd34bc4d9c47f3b83b459..5d5ab94aea01ee5a1b7005d7be28ba0976ba27cb 100644
(file)
--- a/
apps/dgst.c
+++ b/
apps/dgst.c
@@
-280,7
+280,7
@@
int MAIN(int argc, char **argv)
}
siglen = BIO_read(sigbio, sigbuf, siglen);
BIO_free(sigbio);
- if(siglen
<
= 0) {
+ if(siglen
=
= 0) {
BIO_printf(bio_err, "Error reading signature file %s\n",
sigfile);
ERR_print_errors(bio_err);