Fix from head.
This commit is contained in:
parent
d60425034f
commit
3b7dd6d34c
@ -312,7 +312,7 @@ bad:
|
||||
|
||||
num -= offset;
|
||||
|
||||
if ((length == 0) || (length > num)) length=(unsigned int)num;
|
||||
if ((length == 0) || ((long)length > num)) length=(unsigned int)num;
|
||||
if(derout) {
|
||||
if(BIO_write(derout, str + offset, length) != (int)length) {
|
||||
BIO_printf(bio_err, "Error writing output\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user