diff options
author | lloyd <[email protected]> | 2008-06-27 17:08:09 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-06-27 17:08:09 +0000 |
commit | 7861a5a673ab8176d8d89e3f69a4c5a0cd649485 (patch) | |
tree | 8491af51ab57894d6ee15aca10fd84dce9f2330a /include/x931_rng.h | |
parent | 89382c8d6e8861e702def6a6e695fc2b783e7f09 (diff) |
Remove PRNG_Unseeded throw() specifies from the RNG randomize() functions.
They were probably not a good idea. If nothing else, these functions might
throw bad_alloc, and possibly other errors. Something broad like std::exception
might be applicable, but that seems pointlessly broad.
Diffstat (limited to 'include/x931_rng.h')
-rw-r--r-- | include/x931_rng.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/x931_rng.h b/include/x931_rng.h index 3bb15ed6f..0076bb3f7 100644 --- a/include/x931_rng.h +++ b/include/x931_rng.h @@ -17,7 +17,7 @@ namespace Botan { class BOTAN_DLL ANSI_X931_RNG : public RandomNumberGenerator { public: - void randomize(byte[], u32bit) throw(PRNG_Unseeded); + void randomize(byte[], u32bit); bool is_seeded() const; void clear() throw(); std::string name() const; |