From d7a9e91688320083591cdaf164842eb881d22898 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Fri, 6 Jul 2001 22:06:08 +0000 Subject: [PATCH] Remove unnecessary casts. --- crypto/bf/bf_skey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1