aboutsummaryrefslogtreecommitdiffstats
path: root/src/rng/randpool/randpool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rng/randpool/randpool.cpp')
-rw-r--r--src/rng/randpool/randpool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rng/randpool/randpool.cpp b/src/rng/randpool/randpool.cpp
index d99ae5463..e66081a07 100644
--- a/src/rng/randpool/randpool.cpp
+++ b/src/rng/randpool/randpool.cpp
@@ -176,7 +176,7 @@ Randpool::Randpool(BlockCipher* cipher_in,
mac(mac_in)
{
const size_t BLOCK_SIZE = cipher->BLOCK_SIZE;
- const size_t OUTPUT_LENGTH = mac->OUTPUT_LENGTH;
+ const size_t OUTPUT_LENGTH = mac->output_length();
if(OUTPUT_LENGTH < BLOCK_SIZE ||
!cipher->valid_keylength(OUTPUT_LENGTH) ||