Don't add write errors into bytecounts
Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 00d565cfbe)
This commit is contained in:
committed by
Rich Salz
parent
051b41df41
commit
cdcb94eea7
@@ -2455,8 +2455,10 @@ static int sv_body(char *hostname, int s, int stype, unsigned char *context)
|
|||||||
ret = 1;
|
ret = 1;
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
if (k > 0) {
|
||||||
l += k;
|
l += k;
|
||||||
i -= k;
|
i -= k;
|
||||||
|
}
|
||||||
if (i <= 0)
|
if (i <= 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user