diff options
Diffstat (limited to 'src/tests/test_stream.cpp')
-rw-r--r-- | src/tests/test_stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_stream.cpp b/src/tests/test_stream.cpp index 6f14c7183..0e9f67c9f 100644 --- a/src/tests/test_stream.cpp +++ b/src/tests/test_stream.cpp @@ -50,7 +50,7 @@ size_t stream_test(const std::string& algo, cipher->set_key(key); if(nonce.size()) - cipher->set_iv(&nonce[0], nonce.size()); + cipher->set_iv(nonce.data(), nonce.size()); secure_vector<byte> buf = pt; |