diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-04-28 10:44:11 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:46 +0200 |
commit | fb447b94e369114df0bc96b5c4c20b2cd102bff0 (patch) | |
tree | 1dac4f99a3feeb06e94b744163f8dfadb7616245 /src/Hash.cpp | |
parent | 2ecdfb3b47882411659a0efe451b0910c85a32f5 (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 |