diff options
Diffstat (limited to 'src/lib/base/sym_algo.h')
-rw-r--r-- | src/lib/base/sym_algo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/base/sym_algo.h b/src/lib/base/sym_algo.h index 7c37b2a47..ee6eb5f4a 100644 --- a/src/lib/base/sym_algo.h +++ b/src/lib/base/sym_algo.h @@ -68,7 +68,7 @@ class BOTAN_DLL SymmetricAlgorithm template<typename Alloc> void set_key(const std::vector<byte, Alloc>& key) { - set_key(&key[0], key.size()); + set_key(key.data(), key.size()); } /** |