diff options
Diffstat (limited to 'src/rng')
-rw-r--r-- | src/rng/x931_rng/x931_rng.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rng/x931_rng/x931_rng.cpp b/src/rng/x931_rng/x931_rng.cpp index 0911ce526..ac77b4344 100644 --- a/src/rng/x931_rng/x931_rng.cpp +++ b/src/rng/x931_rng/x931_rng.cpp @@ -61,7 +61,7 @@ void ANSI_X931_RNG::rekey() if(prng->is_seeded()) { - cipher->set_key(prng->random_vec(cipher->MAXIMUM_KEYLENGTH)); + cipher->set_key(prng->random_vec(cipher->maximum_keylength())); if(V.size() != BLOCK_SIZE) V.resize(BLOCK_SIZE); |