aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/rng_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/rng_test.cpp')
-rw-r--r--doc/examples/rng_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/rng_test.cpp b/doc/examples/rng_test.cpp
index 385ac57f3..a6ee6da78 100644
--- a/doc/examples/rng_test.cpp
+++ b/doc/examples/rng_test.cpp
@@ -68,7 +68,7 @@ void x931_tests(std::vector<std::pair<std::string, std::string> > vecs,
ANSI_X931_RNG prng(get_block_cipher(cipher),
new Fixed_Output_RNG);
- secure_vector<byte> x = hex_decode(input);
+ std::vector<byte> x = hex_decode(input);
prng.add_entropy(&x[0], x.size());
secure_vector<byte> output(result.size() / 2);