aboutsummaryrefslogtreecommitdiff
path: root/engines/ccgost/gosthash.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-02-13 22:15:56 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-02-13 22:15:56 +0000
commitf3b8b34a882a09ff73facc4c6ce7cdcad59b8656 (patch)
tree79d6c350c61cb2c6055ac3b21d94c152a09b44ff /engines/ccgost/gosthash.c
parent451758c6115bda75e299808f60c4403de86398a8 (diff)
downloadsrc-vendor/openssl/1.0.1e.tar.gz
src-vendor/openssl/1.0.1e.zip
Import OpenSSL 1.0.1e.vendor/openssl/1.0.1e
Approved by: secteam (delphij, simon), benl (silence)
Diffstat (limited to 'engines/ccgost/gosthash.c')
-rw-r--r--engines/ccgost/gosthash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/ccgost/gosthash.c b/engines/ccgost/gosthash.c
index a5c0662ffc32..8c278aa6452e 100644
--- a/engines/ccgost/gosthash.c
+++ b/engines/ccgost/gosthash.c
@@ -42,7 +42,7 @@ static void circle_xor8 (const byte *w, byte *k)
byte buf[8];
int i;
memcpy(buf,w,8);
- memcpy(k,w+8,24);
+ memmove(k,w+8,24);
for(i=0;i<8;i++)
k[i+24]=buf[i]^k[i];
}