aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng/rng.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-03-21 22:16:46 +0000
committerlloyd <[email protected]>2014-03-21 22:16:46 +0000
commit0e2b9db6eecb07d01b4756b8fa0a3307670715b6 (patch)
treebe45ca028434e55065ac70da7290e42747bebd48 /src/lib/rng/rng.h
parentb4407e3d2191a166dfd0e71006180431726f3fc6 (diff)
Add HMAC_DRBG
Diffstat (limited to 'src/lib/rng/rng.h')
-rw-r--r--src/lib/rng/rng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rng/rng.h b/src/lib/rng/rng.h
index 812b13527..c69c147e6 100644
--- a/src/lib/rng/rng.h
+++ b/src/lib/rng/rng.h
@@ -45,7 +45,7 @@ class BOTAN_DLL RandomNumberGenerator
* @param bytes number of bytes in the result
* @return randomized vector of length bytes
*/
- secure_vector<byte> random_vec(size_t bytes)
+ virtual secure_vector<byte> random_vec(size_t bytes)
{
secure_vector<byte> output(bytes);
randomize(&output[0], output.size());