summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/engines/ccgost/gosthash.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/engines/ccgost/gosthash.c')
-rw-r--r--deps/openssl/openssl/engines/ccgost/gosthash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/openssl/openssl/engines/ccgost/gosthash.c b/deps/openssl/openssl/engines/ccgost/gosthash.c
index a5c0662ffc..8c278aa645 100644
--- a/deps/openssl/openssl/engines/ccgost/gosthash.c
+++ b/deps/openssl/openssl/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];
}