aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/rng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/rng.cpp')
-rw-r--r--src/core/rng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/rng.cpp b/src/core/rng.cpp
index 37b03684c..16c87f563 100644
--- a/src/core/rng.cpp
+++ b/src/core/rng.cpp
@@ -87,7 +87,7 @@ RandomNumberGenerator* RandomNumberGenerator::make_rng()
get_mac("HMAC(SHA-256)"));
#if defined(BOTAN_HAS_X931_RNG)
- rng = new ANSI_X931_RNG("AES-256", rng);
+ rng = new ANSI_X931_RNG(get_block_cipher("AES-256"), rng);
#endif
#if defined(BOTAN_HAS_TIMER_HARDWARE)