Commit 3b7dd6d3 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix from head.

parent d6042503
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");