aboutsummaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-04-29 10:28:29 +0000
committerRichard Levitte <levitte@openssl.org>2002-04-29 10:28:29 +0000
commit9738f395c6db4465ff6110f6b0952ee5f1a1e2e4 (patch)
tree90e35bfbecf3f7bdb0f90013f35906f7140b1350 /ssl
parentd4294c8984a1aa1e60d38f7c49d1646fa042bf53 (diff)
downloadopenssl-9738f395c6db4465ff6110f6b0952ee5f1a1e2e4.tar.gz
Synchronise with 0.9.7-stable.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_pkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index e411fb5a03..5e60e18972 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -245,7 +245,7 @@ static int ssl3_get_record(SSL *s)
extra=SSL3_RT_MAX_EXTRA;
else
extra=0;
- if ((size_t)extra != (s->s3->rbuf.len - SSL3_RT_MAX_PACKET_SIZE))
+ if (extra != (s->s3->rbuf.len - SSL3_RT_MAX_PACKET_SIZE))
{
/* actually likely an application error: SLS_OP_MICROSOFT_BIG_SSLV3_BUFFER
* set after ssl3_setup_buffers() was done */
@@ -605,7 +605,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 < (size_t)prefix_len + SSL3_RT_MAX_PACKET_SIZE)
+ if (s->s3->wbuf.len < prefix_len + SSL3_RT_MAX_PACKET_SIZE)
{
/* insufficient space */
SSLerr(SSL_F_DO_SSL3_WRITE, ERR_R_INTERNAL_ERROR);