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 | |
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')
-rw-r--r-- | include/randpool.h | 2 | ||||
-rw-r--r-- | include/x931_rng.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/randpool.h b/include/randpool.h index dc8750dc3..e73ba7f3e 100644 --- a/include/randpool.h +++ b/include/randpool.h @@ -17,7 +17,7 @@ namespace Botan { class BOTAN_DLL Randpool : 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; 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; |