aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilipp Weber <[email protected]>2016-05-23 14:27:14 +0200
committerPhilipp Weber <[email protected]>2016-05-23 14:27:14 +0200
commitfac01ba123852c66065027522494a4f9efda562f (patch)
tree472220c249d7519d1788922727acc661c31db710 /src
parent2a58a43264c7994c19a1f05d807e40ffd95644c2 (diff)
ecies review change: make constant vector with test data const instead of static
Diffstat (limited to 'src')
-rw-r--r--src/tests/test_ecies.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_ecies.cpp b/src/tests/test_ecies.cpp
index 2fba6c93f..0c6a31877 100644
--- a/src/tests/test_ecies.cpp
+++ b/src/tests/test_ecies.cpp
@@ -88,7 +88,7 @@ void check_encrypt_decrypt(Test::Result& result, const Botan::ECDH_PrivateKey& p
const Botan::ECDH_PrivateKey& other_private_key,
const Botan::ECIES_System_Params& ecies_params, size_t iv_length = 0)
{
- static std::vector<byte> Plaintext { 1, 2, 3 };
+ const std::vector<byte> Plaintext { 1, 2, 3 };
check_encrypt_decrypt(result, private_key, other_private_key, ecies_params, std::vector<byte>(iv_length, 0), "",
Plaintext, std::vector<byte>());
}