projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
671cf7f
)
Get rid of evil cast.
author
Ben Laurie
<ben@openssl.org>
Thu, 17 Feb 2000 09:39:22 +0000
(09:39 +0000)
committer
Ben Laurie
<ben@openssl.org>
Thu, 17 Feb 2000 09:39:22 +0000
(09:39 +0000)
ssl/s2_lib.c
patch
|
blob
|
history
diff --git
a/ssl/s2_lib.c
b/ssl/s2_lib.c
index 8954bc36627f8129e5020ddcf4a6a4379ebde58e..9d5f898238e0211ab6dcff4cd385f35927f73ec6 100644
(file)
--- 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);