summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2005-07-22 03:36:30 +0000
committerGeoff Thorpe <geoff@openssl.org>2005-07-22 03:36:30 +0000
commit20a90e3a76135c34b4988ba3cc2835603d98639a (patch)
tree9e41e61db2abf5c8afa5a609711d2f5c9594b88c /ssl
parent17a2994dbd83929d89ae452f77f4b6b1d073df46 (diff)
Fix some signed/unsigned warnings.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/d1_clnt.c2
-rw-r--r--ssl/d1_srvr.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c
index c0247faa98..deeb50da3d 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -541,7 +541,7 @@ int dtls1_client_hello(SSL *s)
{
unsigned char *buf;
unsigned char *p,*d;
- int i,j;
+ unsigned int i,j;
unsigned long Time,l;
SSL_COMP *comp;
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c
index 2d41b38ca6..8865dd2a4e 100644
--- a/ssl/d1_srvr.c
+++ b/ssl/d1_srvr.c
@@ -677,7 +677,8 @@ int dtls1_send_server_hello(SSL *s)
{
unsigned char *buf;
unsigned char *p,*d;
- int i,sl;
+ int i;
+ unsigned int sl;
unsigned long l,Time;
if (s->state == SSL3_ST_SW_SRVR_HELLO_A)