mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Fix unsigned/signed warnings in ssl.
This commit is contained in:
parent
637f90621d
commit
aff686df91
@ -1824,8 +1824,7 @@ err:
|
||||
int ssl3_get_cert_status(SSL *s)
|
||||
{
|
||||
int ok, al;
|
||||
unsigned long resplen;
|
||||
long n;
|
||||
unsigned long resplen,n;
|
||||
const unsigned char *p;
|
||||
|
||||
n=s->method->ssl_get_message(s,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user