diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/rng/auto_rng/info.txt | 1 | ||||
-rw-r--r-- | src/lib/rng/rng.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/rng/auto_rng/info.txt b/src/lib/rng/auto_rng/info.txt index b66aafb45..4dd51c2b0 100644 --- a/src/lib/rng/auto_rng/info.txt +++ b/src/lib/rng/auto_rng/info.txt @@ -1,4 +1,5 @@ define AUTO_SEEDING_RNG 20160821 +define AUTO_RNG 20161126 <requires> hmac_drbg 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 {} |