diff options
author | Simon Warta <[email protected]> | 2015-06-23 18:29:16 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-23 18:49:20 +0200 |
commit | e4cfc6684df02e1c1c2b583c764514cfc08e9c39 (patch) | |
tree | e8bc73070ddb9cb38594e114e28f4fa1129545f8 /src/lib/tls/tls_session.h | |
parent | fcb249320e9529c772fde21195659cc81cb57c73 (diff) |
lib/tls: Convert &vec[0] to vec.data()
Diffstat (limited to 'src/lib/tls/tls_session.h')
-rw-r--r-- | src/lib/tls/tls_session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_session.h b/src/lib/tls/tls_session.h index d7dcc90cb..81c662507 100644 --- a/src/lib/tls/tls_session.h +++ b/src/lib/tls/tls_session.h @@ -99,7 +99,7 @@ class BOTAN_DLL Session static inline Session decrypt(const std::vector<byte>& ctext, const SymmetricKey& key) { - return Session::decrypt(&ctext[0], ctext.size(), key); + return Session::decrypt(ctext.data(), ctext.size(), key); } /** |