summaryrefslogtreecommitdiffstats
path: root/ssl/t1_enc.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-01-11 15:58:51 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-01-11 15:58:51 +0000
commit211655fcdd745a5dc0043df7ae2e9e71d17968db (patch)
tree1cd6d7fd6ba76f6a266b4f8058f45d97ad88b6d3 /ssl/t1_enc.c
parent363bd0b48e869068d4b6b434def9905ad8de87e8 (diff)
Fix sign-compare warnings.
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r--ssl/t1_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c
index b482f6cf9c..d9b93f5857 100644
--- a/ssl/t1_enc.c
+++ b/ssl/t1_enc.c
@@ -805,7 +805,7 @@ int tls1_final_finish_mac(SSL *s,
{
if (mask & s->s3->tmp.new_cipher->algorithm2)
{
- int hashsize = EVP_MD_size(md);
+ unsigned int hashsize = EVP_MD_size(md);
if (hashsize < 0 || hashsize > (sizeof buf - (size_t)(q-buf)))
{
/* internal error: 'buf' is too small for this cipersuite! */