diff options
author | Andy Polyakov <appro@openssl.org> | 2008-01-05 21:35:34 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2008-01-05 21:35:34 +0000 |
commit | aff686df91d856511cf3570b7d8755300da22451 (patch) | |
tree | 349953877780e5cd7e0e620792f2f08e17834a74 /ssl/t1_enc.c | |
parent | 637f90621d11b35a255f52c5c45301491a60e79e (diff) |
Fix unsigned/signed warnings in ssl.
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r-- | ssl/t1_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index ee511a6512..3a349920d9 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -793,8 +793,8 @@ int tls1_final_finish_mac(SSL *s, { if (mask & s->s3->tmp.new_cipher->algorithm2) { - int hashsize = EVP_MD_size(md); - if ((size_t)hashsize > (sizeof buf - (size_t)(q-buf))) + unsigned int hashsize = EVP_MD_size(md); + if (hashsize > (sizeof buf - (size_t)(q-buf))) { /* internal error: 'buf' is too small for this cipersuite! */ err = 1; |