diff options
author | Jack Lloyd <[email protected]> | 2016-11-26 20:21:37 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-26 20:21:37 -0500 |
commit | db6cc169d2a62b6ba9ccf881f9eb2e7c5e28692a (patch) | |
tree | c55b23ee593d23cd012e0bf33149597b1b9d461d /src/lib/rng/rng.h | |
parent | 5372d0b499ad317ab3776c9ac92df866cc6a1e84 (diff) |
Simple tests for AutoSeeded_RNG
Diffstat (limited to 'src/lib/rng/rng.h')
-rw-r--r-- | src/lib/rng/rng.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rng/rng.h b/src/lib/rng/rng.h index 98ac4982f..acd131b18 100644 --- a/src/lib/rng/rng.h +++ b/src/lib/rng/rng.h @@ -193,7 +193,7 @@ class BOTAN_DLL Null_RNG final : public RandomNumberGenerator void randomize(byte[], size_t) override { - throw Exception("Null_RNG called"); + throw PRNG_Unseeded("Null_RNG called"); } void add_entropy(const byte[], size_t) override {} |