Signedness mismatch.
Notified by Bernd Matthes <bernd.matthes@gemplus.com>
This commit is contained in:
parent
45932ad508
commit
8b07f23c30
@ -245,7 +245,7 @@ static int ssl3_get_record(SSL *s)
|
|||||||
extra=SSL3_RT_MAX_EXTRA;
|
extra=SSL3_RT_MAX_EXTRA;
|
||||||
else
|
else
|
||||||
extra=0;
|
extra=0;
|
||||||
if (extra != (s->s3->rbuf.len - SSL3_RT_MAX_PACKET_SIZE))
|
if ((size_t)extra != (s->s3->rbuf.len - SSL3_RT_MAX_PACKET_SIZE))
|
||||||
{
|
{
|
||||||
/* actually likely an application error: SLS_OP_MICROSOFT_BIG_SSLV3_BUFFER
|
/* actually likely an application error: SLS_OP_MICROSOFT_BIG_SSLV3_BUFFER
|
||||||
* set after ssl3_setup_buffers() was done */
|
* 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)
|
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);
|
||||||
|
@ -991,7 +991,7 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
size_t num;
|
size_t num;
|
||||||
int r;
|
size_t r;
|
||||||
|
|
||||||
r1 = BIO_ctrl_pending(io1);
|
r1 = BIO_ctrl_pending(io1);
|
||||||
r2 = BIO_ctrl_get_write_guarantee(io2);
|
r2 = BIO_ctrl_get_write_guarantee(io2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user