aboutsummaryrefslogtreecommitdiffstats
path: root/src/rng/rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rng/rng.h')
-rw-r--r--src/rng/rng.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rng/rng.h b/src/rng/rng.h
index c078ef08f..12b423e7c 100644
--- a/src/rng/rng.h
+++ b/src/rng/rng.h
@@ -37,9 +37,9 @@ class BOTAN_DLL RandomNumberGenerator
* @param bytes number of bytes in the result
* @return randomized vector of length bytes
*/
- SecureVector<byte> random_vec(size_t bytes)
+ secure_vector<byte> random_vec(size_t bytes)
{
- SecureVector<byte> output(bytes);
+ secure_vector<byte> output(bytes);
randomize(&output[0], output.size());
return output;
}