diff options
author | dec05eba <0xdec05eba@gmail.com> | 2018-04-28 10:44:11 +0200 |
---|---|---|
committer | dec05eba <0xdec05eba@gmail.com> | 2018-04-28 10:44:22 +0200 |
commit | 54d8ae4c335c21290dc41e5ba4701b3c19bba601 (patch) | |
tree | f381e10e071e1800e8e5ca69701fe25e58dbd837 /src/Hash.cpp | |
parent | 166e132873fccf62327d2190fe1d827d89a5db63 (diff) |
Add decryption (and caching) of data, even when adding encryption key after data has been added
Diffstat (limited to 'src/Hash.cpp')
-rw-r--r-- | src/Hash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hash.cpp b/src/Hash.cpp index e46e5ba..364cddd 100644 --- a/src/Hash.cpp +++ b/src/Hash.cpp @@ -31,7 +31,7 @@ namespace odhtdb Hash::Hash(const Hash &other) { - memcpy(data, other.data, HASH_BYTE_SIZE); + memmove(data, other.data, HASH_BYTE_SIZE); } size_t Hash::operator()() const |