aboutsummaryrefslogtreecommitdiffstats
path: root/src/rng/auto_rng
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-09-08 15:54:09 +0000
committerlloyd <[email protected]>2009-09-08 15:54:09 +0000
commit166e979eebe6e3f136df4deba626b584e1d735ae (patch)
tree0300566636bbb92c253f7521225f359f981f3f17 /src/rng/auto_rng
parent361b82c5a04f2980418e61c7630cf36478219f30 (diff)
Throw Internal_Error instead of Algorithm_Not_Found if no usable RNG
is enabled in the build.
Diffstat (limited to 'src/rng/auto_rng')
-rw-r--r--src/rng/auto_rng/auto_rng.cpp2
1 files changed, 1 insertions, 1 deletions
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)