aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/randpool.h2
-rw-r--r--include/x931_rng.h2
-rw-r--r--src/randpool.cpp2
-rw-r--r--src/x931_rng.cpp2
4 files changed, 4 insertions, 4 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;
diff --git a/src/randpool.cpp b/src/randpool.cpp
index be50ce2be..abb75c1f0 100644
--- a/src/randpool.cpp
+++ b/src/randpool.cpp
@@ -38,7 +38,7 @@ SecureVector<byte> randpool_prf(MessageAuthenticationCode* mac,
/*************************************************
* Generate a buffer of random bytes *
*************************************************/
-void Randpool::randomize(byte out[], u32bit length) throw(PRNG_Unseeded)
+void Randpool::randomize(byte out[], u32bit length)
{
if(!is_seeded())
throw PRNG_Unseeded(name());
diff --git a/src/x931_rng.cpp b/src/x931_rng.cpp
index 30424f60a..d9ac69296 100644
--- a/src/x931_rng.cpp
+++ b/src/x931_rng.cpp
@@ -13,7 +13,7 @@ namespace Botan {
/*************************************************
* Generate a buffer of random bytes *
*************************************************/
-void ANSI_X931_RNG::randomize(byte out[], u32bit length) throw(PRNG_Unseeded)
+void ANSI_X931_RNG::randomize(byte out[], u32bit length)
{
if(!is_seeded())
throw PRNG_Unseeded(name());