fix warning
This commit is contained in:
parent
47234cd3d2
commit
b889d6a8e8
@ -604,7 +604,7 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
|
|||||||
if (prefix_len <= 0)
|
if (prefix_len <= 0)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
if (s->s3->wbuf.len < prefix_len + SSL3_RT_MAX_PACKET_SIZE)
|
if (s->s3->wbuf.len < (size_t)prefix_len + SSL3_RT_MAX_PACKET_SIZE)
|
||||||
{
|
{
|
||||||
/* insufficient space */
|
/* insufficient space */
|
||||||
SSLerr(SSL_F_DO_SSL3_WRITE, ERR_R_INTERNAL_ERROR);
|
SSLerr(SSL_F_DO_SSL3_WRITE, ERR_R_INTERNAL_ERROR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user