diff options
author | lloyd <[email protected]> | 2010-09-13 20:53:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-13 20:53:31 +0000 |
commit | 4fe8a34f1869805d9115f39cad53d1fd7f7eb6c4 (patch) | |
tree | 2ff6c30d1a7d5f2244b6f1b459a5ea10b6d43fe0 /src/hash/mdx_hash | |
parent | 36bfef27271eadffefbc6891a9d7fa7eed7b1e10 (diff) |
Remove more uses of vector to pointer implicit conversions
Diffstat (limited to 'src/hash/mdx_hash')
-rw-r--r-- | src/hash/mdx_hash/mdx_hash.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hash/mdx_hash/mdx_hash.cpp b/src/hash/mdx_hash/mdx_hash.cpp index 69341c53f..560832542 100644 --- a/src/hash/mdx_hash/mdx_hash.cpp +++ b/src/hash/mdx_hash/mdx_hash.cpp @@ -75,13 +75,13 @@ void MDx_HashFunction::final_result(byte output[]) if(position >= HASH_BLOCK_SIZE - COUNT_SIZE) { - compress_n(buffer, 1); + compress_n(&buffer[0], 1); zeroise(buffer); } - write_count(buffer + HASH_BLOCK_SIZE - COUNT_SIZE); + write_count(&buffer[HASH_BLOCK_SIZE - COUNT_SIZE]); - compress_n(buffer, 1); + compress_n(&buffer[0], 1); copy_out(output); clear(); } |