summaryrefslogtreecommitdiff
path: root/ssl/s2_pkt.c
diff options
context:
space:
mode:
authorsteve <steve>2009-01-11 15:58:51 +0000
committersteve <steve>2009-01-11 15:58:51 +0000
commit1f57cf93665b0e8c52962229c20f725023be9482 (patch)
treeb81600708357888710308c004e52745b2decdff2 /ssl/s2_pkt.c
parent4cfc42b12fcbdde97900f8cb41fbdf778d6081e1 (diff)
downloadopenssl-1f57cf93665b0e8c52962229c20f725023be9482.tar.gz
Fix sign-compare warnings.
Diffstat (limited to 'ssl/s2_pkt.c')
-rw-r--r--ssl/s2_pkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s2_pkt.c b/ssl/s2_pkt.c
index 9c1d1313c..1a54765fe 100644
--- a/ssl/s2_pkt.c
+++ b/ssl/s2_pkt.c
@@ -130,7 +130,7 @@ static int ssl2_read_internal(SSL *s, void *buf, int len, int peek)
unsigned char mac[MAX_MAC_SIZE];
unsigned char *p;
int i;
- int mac_size;
+ unsigned int mac_size;
ssl2_read_again:
if (SSL_in_init(s) && !s->in_handshake)