aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng/rdrand_rng/rdrand_rng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rng/rdrand_rng/rdrand_rng.cpp')
-rw-r--r--src/lib/rng/rdrand_rng/rdrand_rng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rng/rdrand_rng/rdrand_rng.cpp b/src/lib/rng/rdrand_rng/rdrand_rng.cpp
index a3ea25921..ba36c9aac 100644
--- a/src/lib/rng/rdrand_rng/rdrand_rng.cpp
+++ b/src/lib/rng/rdrand_rng/rdrand_rng.cpp
@@ -18,7 +18,7 @@ namespace Botan {
RDRAND_RNG::RDRAND_RNG()
{
if(!RDRAND_RNG::available())
- throw Exception("Current CPU does not support RDRAND instruction");
+ throw Invalid_State("Current CPU does not support RDRAND instruction");
}
//static