Commit 08893f03 authored by Matt Johnston's avatar Matt Johnston
Browse files

- Don't memcpy() in place with void_encrypt

--HG--
extra : convert_revision : d123343d78df1b5998d8dd2674fd83fd682ce0c0
parent 4be3826d
......@@ -31,7 +31,9 @@
static int void_cipher(const unsigned char* in, unsigned char* out,
unsigned long len, void *cipher_state) {
memcpy(out, in, len);
if (in != out) {
memmove(out, in, len);
}
return CRYPT_OK;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment