diff options
Diffstat (limited to 'src/lib/pbkdf/pbkdf.h')
-rw-r--r-- | src/lib/pbkdf/pbkdf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pbkdf/pbkdf.h b/src/lib/pbkdf/pbkdf.h index 3eaa293a1..5f6cd904c 100644 --- a/src/lib/pbkdf/pbkdf.h +++ b/src/lib/pbkdf/pbkdf.h @@ -107,7 +107,7 @@ class BOTAN_DLL PBKDF const std::vector<byte, Alloc>& salt, size_t iterations) const { - return pbkdf_iterations(out_len, passphrase, &salt[0], salt.size(), iterations); + return pbkdf_iterations(out_len, passphrase, salt.data(), salt.size(), iterations); } /** @@ -143,7 +143,7 @@ class BOTAN_DLL PBKDF std::chrono::milliseconds msec, size_t& iterations) const { - return pbkdf_timed(out_len, passphrase, &salt[0], salt.size(), msec, iterations); + return pbkdf_timed(out_len, passphrase, salt.data(), salt.size(), msec, iterations); } }; |