aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf/kdf.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-13 20:53:31 +0000
committerlloyd <[email protected]>2010-09-13 20:53:31 +0000
commit4fe8a34f1869805d9115f39cad53d1fd7f7eb6c4 (patch)
tree2ff6c30d1a7d5f2244b6f1b459a5ea10b6d43fe0 /src/kdf/kdf.cpp
parent36bfef27271eadffefbc6891a9d7fa7eed7b1e10 (diff)
Remove more uses of vector to pointer implicit conversions
Diffstat (limited to 'src/kdf/kdf.cpp')
-rw-r--r--src/kdf/kdf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdf/kdf.cpp b/src/kdf/kdf.cpp
index 86f5f2476..04f44f2f4 100644
--- a/src/kdf/kdf.cpp
+++ b/src/kdf/kdf.cpp
@@ -16,7 +16,7 @@ SecureVector<byte> KDF::derive_key(u32bit key_len,
const MemoryRegion<byte>& secret,
const std::string& salt) const
{
- return derive_key(key_len, secret, secret.size(),
+ return derive_key(key_len, &secret[0], secret.size(),
reinterpret_cast<const byte*>(salt.data()),
salt.length());
}