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:
601cb9b
)
Remove unnecessary casts.
author
Ben Laurie
<ben@openssl.org>
Fri, 6 Jul 2001 22:06:08 +0000
(22:06 +0000)
committer
Ben Laurie
<ben@openssl.org>
Fri, 6 Jul 2001 22:06:08 +0000
(22:06 +0000)
crypto/bf/bf_skey.c
patch
|
blob
|
history
diff --git
a/crypto/bf/bf_skey.c
b/crypto/bf/bf_skey.c
index 4d6a232fe0f4ab3a1218a3605dc82a8d8a3a6571..3673cdee6e26172c78a3de35da48eb62b4e26dee 100644
(file)
--- a/
crypto/bf/bf_skey.c
+++ b/
crypto/bf/bf_skey.c
@@
-69,7
+69,7
@@
void BF_set_key(BF_KEY *key, int len, const unsigned char *data)
const unsigned char *d,*end;
- memcpy(
(char *)key,(char *)
&bf_init,sizeof(BF_KEY));
+ memcpy(
key,
&bf_init,sizeof(BF_KEY));
p=key->P;
if (len > ((BF_ROUNDS+2)*4)) len=(BF_ROUNDS+2)*4;