aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf.cpp
diff options
context:
space:
mode:
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;