From: Ben Laurie Date: Thu, 17 Feb 2000 09:39:22 +0000 (+0000) Subject: Get rid of evil cast. X-Git-Tag: OpenSSL_0_9_5beta1~54 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c417db467515205880af69162e80be0f406b13b5;p=oweals%2Fopenssl.git Get rid of evil cast. --- diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c index 8954bc3662..9d5f898238 100644 --- a/ssl/s2_lib.c +++ b/ssl/s2_lib.c @@ -411,7 +411,7 @@ void ssl2_generate_key_material(SSL *s) MD5_Init(&ctx); MD5_Update(&ctx,s->session->master_key,s->session->master_key_length); - MD5_Update(&ctx,(unsigned char *)&c,1); + MD5_Update(&ctx,&c,1); c++; MD5_Update(&ctx,s->s2->challenge,s->s2->challenge_length); MD5_Update(&ctx,s->s2->conn_id,s->s2->conn_id_length);