From c417db467515205880af69162e80be0f406b13b5 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Thu, 17 Feb 2000 09:39:22 +0000 Subject: [PATCH] Get rid of evil cast. --- ssl/s2_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1