siglen is unsigned, so comparing it to less than 0 is silly, and
generates a compiler warning with Compaq C.
This commit is contained in:
parent
5ef8093732
commit
623eea376a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue