From fac01ba123852c66065027522494a4f9efda562f Mon Sep 17 00:00:00 2001 From: Philipp Weber Date: Mon, 23 May 2016 14:27:14 +0200 Subject: ecies review change: make constant vector with test data const instead of static --- src/tests/test_ecies.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 Plaintext { 1, 2, 3 }; + const std::vector Plaintext { 1, 2, 3 }; check_encrypt_decrypt(result, private_key, other_private_key, ecies_params, std::vector(iv_length, 0), "", Plaintext, std::vector()); } -- cgit v1.2.3