diff options
| author | Richard Levitte <[email protected]> | 2002-04-20 12:23:19 +0200 |
|---|---|---|
| committer | Richard Levitte <[email protected]> | 2002-04-20 12:23:19 +0200 |
| commit | 8b07f23c30cbab65054b4c1df6c1a0c4432ea3d9 (patch) | |
| tree | 1a5f0ca348ca4db1b212cc360883c29e1ab2296c | |
| parent | The callback must have (void) as argument list. (diff) | |
| download | openssl-8b07f23c30cbab65054b4c1df6c1a0c4432ea3d9.tar.gz openssl-8b07f23c30cbab65054b4c1df6c1a0c4432ea3d9.zip | |
Signedness mismatch.
Notified by Bernd Matthes <[email protected]>
| -rw-r--r-- | ssl/s3_pkt.c | 4 | ||||
| -rw-r--r-- | ssl/ssltest.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 5e60e189727..e411fb5a038 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 ((size_t)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 < 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); diff --git a/ssl/ssltest.c b/ssl/ssltest.c index f98202945eb..918aabe4d5f 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -991,7 +991,7 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count, do { size_t num; - int r; + size_t r; r1 = BIO_ctrl_pending(io1); r2 = BIO_ctrl_get_write_guarantee(io2); |
