fix warning

This commit is contained in:
Bodo Möller 2001-11-14 21:19:47 +00:00
parent 926606deab
commit c37e7bf580

View file

@ -470,8 +470,8 @@ static int get_client_master_key(SSL *s)
* random master secret (Bleichenbacher attack) */ * random master secret (Bleichenbacher attack) */
if ((i < 0) || if ((i < 0) ||
((!is_export && (i != EVP_CIPHER_key_length(c))) ((!is_export && (i != EVP_CIPHER_key_length(c)))
|| (is_export && ((i != ek) || (s->s2->tmp.clear+i != || (is_export && ((i != ek) || (s->s2->tmp.clear+(unsigned int)i !=
EVP_CIPHER_key_length(c)))))) (unsigned int)EVP_CIPHER_key_length(c))))))
{ {
ERR_clear_error(); ERR_clear_error();
if (is_export) if (is_export)