diff options
author | Ben Laurie <ben@openssl.org> | 2001-07-06 22:06:08 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2001-07-06 22:06:08 +0000 |
commit | d7a9e91688320083591cdaf164842eb881d22898 (patch) | |
tree | 1ed4941ae6b50f4197ffa2c4158e1a495fc909fa /crypto/bf/bf_skey.c | |
parent | 601cb9be206674990838f3524af24f0bea396b45 (diff) |
Remove unnecessary casts.
Diffstat (limited to 'crypto/bf/bf_skey.c')
-rw-r--r-- | crypto/bf/bf_skey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bf/bf_skey.c b/crypto/bf/bf_skey.c index 4d6a232fe0..3673cdee6e 100644 --- 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; |