diff options
author | Bodo Möller <bodo@openssl.org> | 2001-11-14 21:18:35 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-11-14 21:18:35 +0000 |
commit | c23d16ac1987f453ade45d3b9927e62c02b17ce0 (patch) | |
tree | 62c1b041d5b6e6c868926e01fc07c4132fd39e6f /ssl/s2_srvr.c | |
parent | 1b28ed575be65c5cc1b3873f1f1a854e5f888c5b (diff) | |
download | openssl-new-c23d16ac1987f453ade45d3b9927e62c02b17ce0.tar.gz |
cast to unsigned int, not to int to avoid the warning -- all these
values really are unsigned
Diffstat (limited to 'ssl/s2_srvr.c')
-rw-r--r-- | ssl/s2_srvr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s2_srvr.c b/ssl/s2_srvr.c index dfac68095b..582420bcff 100644 --- a/ssl/s2_srvr.c +++ b/ssl/s2_srvr.c @@ -472,8 +472,8 @@ static int get_client_master_key(SSL *s) * random master secret (Bleichenbacher attack) */ if ((i < 0) || ((!is_export && (i != EVP_CIPHER_key_length(c))) - || (is_export && ((i != ek) || ((int)s->s2->tmp.clear+i != - EVP_CIPHER_key_length(c)))))) + || (is_export && ((i != ek) || (s->s2->tmp.clear+(unsigned int)i != + (unsigned int)EVP_CIPHER_key_length(c)))))) { ERR_clear_error(); if (is_export) |