diff options
author | Simon Warta <[email protected]> | 2015-06-26 00:17:56 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-27 10:57:40 +0200 |
commit | c0d847700c2905d9f7eecf2835d2750b564fc65b (patch) | |
tree | b48224cfa0db44700531d78f0aa98bce835bfce5 /src/lib/hash/md5 | |
parent | d6044e49cefc7fb1415033ed7f7ed74e9a985d33 (diff) |
lib/hash: Convert &vec[0] to vec.data()
Diffstat (limited to 'src/lib/hash/md5')
-rw-r--r-- | src/lib/hash/md5/md5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/md5/md5.cpp b/src/lib/hash/md5/md5.cpp index 772e51478..2ce8df48a 100644 --- a/src/lib/hash/md5/md5.cpp +++ b/src/lib/hash/md5/md5.cpp @@ -65,7 +65,7 @@ void MD5::compress_n(const byte input[], size_t blocks) for(size_t i = 0; i != blocks; ++i) { - load_le(&M[0], input, M.size()); + load_le(M.data(), input, M.size()); FF(A,B,C,D,M[ 0], 7,0xD76AA478); FF(D,A,B,C,M[ 1],12,0xE8C7B756); FF(C,D,A,B,M[ 2],17,0x242070DB); FF(B,C,D,A,M[ 3],22,0xC1BDCEEE); |