diff options
author | lloyd <[email protected]> | 2012-05-18 14:24:51 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-05-18 14:24:51 +0000 |
commit | ab5c922f0e2635dc0e45fc757b27be9f28986acb (patch) | |
tree | c21a18bbfb316196b1b13488ef05f184f12be9f0 /src/hash/md2/md2.cpp | |
parent | 2c3dc93d6466a9215d585613fb55f5222ce70d10 (diff) |
Remove all uses of MemoryRegion::copy outside of internal uses in
secmem.h. Mostly replaced by assign or copy_mem.
Diffstat (limited to 'src/hash/md2/md2.cpp')
-rw-r--r-- | src/hash/md2/md2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/md2/md2.cpp b/src/hash/md2/md2.cpp index f44053a1c..8f6a90208 100644 --- a/src/hash/md2/md2.cpp +++ b/src/hash/md2/md2.cpp @@ -79,7 +79,7 @@ void MD2::add_data(const byte input[], size_t length) input += hash_block_size(); length -= hash_block_size(); } - buffer.copy(input, length); + copy_mem(&buffer[0], input, length); position = 0; } position += length; |