From 166e979eebe6e3f136df4deba626b584e1d735ae Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 8 Sep 2009 15:54:09 +0000 Subject: Throw Internal_Error instead of Algorithm_Not_Found if no usable RNG is enabled in the build. --- src/rng/auto_rng/auto_rng.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rng/auto_rng/auto_rng.cpp b/src/rng/auto_rng/auto_rng.cpp index 171c83cca..07b2ddec2 100644 --- a/src/rng/auto_rng/auto_rng.cpp +++ b/src/rng/auto_rng/auto_rng.cpp @@ -140,7 +140,7 @@ AutoSeeded_RNG::AutoSeeded_RNG(u32bit poll_bits) #endif if(!rng) - throw Algorithm_Not_Found("No usable RNG found enabled in build"); + throw Internal_Error("No usable RNG found enabled in build"); /* If X9.31 is available, use it to wrap the other RNG as a failsafe */ #if defined(BOTAN_HAS_X931_RNG) -- cgit v1.2.3