Get rid of evil cast.
authorBen Laurie <ben@openssl.org>
Thu, 17 Feb 2000 09:39:22 +0000 (09:39 +0000)
committerBen Laurie <ben@openssl.org>
Thu, 17 Feb 2000 09:39:22 +0000 (09:39 +0000)
ssl/s2_lib.c

index 8954bc3..9d5f898 100644 (file)
@@ -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);