diff options
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 {} |