diff options
author | Bodo Möller <bodo@openssl.org> | 2002-05-06 10:44:59 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-05-06 10:44:59 +0000 |
commit | b889d6a8e80daca1388c146de07cea55ab320fba (patch) | |
tree | 1ea075001e700dd61003595622165b756ce4cf03 /ssl/s3_pkt.c | |
parent | 47234cd3d2808bd42717a5c4ed3e30ba8414ef4f (diff) |
fix warning
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r-- | ssl/s3_pkt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 9ce82376e8..43e8502b66 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -604,7 +604,7 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, if (prefix_len <= 0) 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 */ SSLerr(SSL_F_DO_SSL3_WRITE, ERR_R_INTERNAL_ERROR); |