From 7861a5a673ab8176d8d89e3f69a4c5a0cd649485 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 27 Jun 2008 17:08:09 +0000 Subject: 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. --- include/x931_rng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/x931_rng.h') 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; -- cgit v1.2.3