aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-11-15 03:26:58 +0000
committerlloyd <[email protected]>2007-11-15 03:26:58 +0000
commiteea881973fc97d1e3ccd4ce358229bd2459acb25 (patch)
tree677121e3a220b37257287b7a0796a14c5145c1af /src/kdf.cpp
parenta731f8135bfd322d187dff46b0b1c3cdc0e76cba (diff)
Revert the change that renamed append() to push_back(). As pointed out
by Joel Low on the mailing list, the STL container types have only a single version of push_back(), along with variations of insert() for handling range-based appending.
Diffstat (limited to 'src/kdf.cpp')
-rw-r--r--src/kdf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdf.cpp b/src/kdf.cpp
index b1b92dfe6..22d8ac7cc 100644
--- a/src/kdf.cpp
+++ b/src/kdf.cpp
@@ -110,7 +110,7 @@ SecureVector<byte> KDF2::derive(u32bit out_len,
SecureVector<byte> hash_result = hash->final();
u32bit added = std::min(hash_result.size(), out_len);
- output.push_back(hash_result, added);
+ output.append(hash_result, added);
out_len -= added;
++counter;