diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2002-05-02 01:52:18 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2002-05-02 01:52:18 +0000 |
commit | 64f1ae386829b8ae45628ccc1530e40383b9a2e5 (patch) | |
tree | 14f2cfa98067430acf3fa15387acca48c43fde46 /ssl | |
parent | 9cf94f9ed34f01301c0ae081f1ae0f1b04c8d7e5 (diff) |
Win32 VC++ warning fixes.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_pkt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index fb086dcc86..652249cdfb 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 (extra != (s->s3->rbuf_len - SSL3_RT_MAX_PACKET_SIZE)) + if (extra != (int)(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 < prefix_len + SSL3_RT_MAX_PACKET_SIZE) + if (s->s3->wbuf_len < (unsigned int)(prefix_len + SSL3_RT_MAX_PACKET_SIZE)) { /* insufficient space */ SSLerr(SSL_F_DO_SSL3_WRITE, SSL_R_INTERNAL_ERROR); |