diff options
author | Ben Laurie <ben@openssl.org> | 2000-02-17 09:39:22 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2000-02-17 09:39:22 +0000 |
commit | c417db467515205880af69162e80be0f406b13b5 (patch) | |
tree | ba33c854993328f5008d8b5ad30b6e4a625f3194 | |
parent | 671cf7f54ae2447496852f03a7ad3ac21a9938ac (diff) |
Get rid of evil cast.
-rw-r--r-- | ssl/s2_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |