aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-11-14 18:08:10 +0000
committerlloyd <[email protected]>2007-11-14 18:08:10 +0000
commit167f765128c4aced6c6a9dcf73f16b933910a798 (patch)
tree12f39b1973090d04d77b3303e5b112e3d78eb748 /src/kdf.cpp
parent2de4693562db51f6f0e0b2f3a95e3118c40db05d (diff)
Rename MemoryRegion::append to push_back
Change all callers in the library and self-test code.
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 22d8ac7cc..b1b92dfe6 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.append(hash_result, added);
+ output.push_back(hash_result, added);
out_len -= added;
++counter;