diff options
author | lloyd <[email protected]> | 2010-09-14 02:05:05 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-14 02:05:05 +0000 |
commit | 77a33b0c16880884cc0326e92c0c30d0e8444a91 (patch) | |
tree | df2d917b312abb79c8654558399521366dbb2d14 /src/kdf/kdf2 | |
parent | 59a9b0ef260b010606edc3384035b6aa12dd6415 (diff) |
More changes to avoid vector to pointer implicit conversions
Diffstat (limited to 'src/kdf/kdf2')
-rw-r--r-- | src/kdf/kdf2/kdf2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdf/kdf2/kdf2.cpp b/src/kdf/kdf2/kdf2.cpp index b9e785942..8106ba07d 100644 --- a/src/kdf/kdf2/kdf2.cpp +++ b/src/kdf/kdf2/kdf2.cpp @@ -29,7 +29,7 @@ SecureVector<byte> KDF2::derive(u32bit out_len, SecureVector<byte> hash_result = hash->final(); u32bit added = std::min<u32bit>(hash_result.size(), out_len); - output.append(hash_result, added); + output.append(&hash_result[0], added); out_len -= added; ++counter; |