diff options
Diffstat (limited to 'src/rng/randpool')
-rw-r--r-- | src/rng/randpool/randpool.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/rng/randpool/randpool.cpp b/src/rng/randpool/randpool.cpp index 594916a84..1a111e20e 100644 --- a/src/rng/randpool/randpool.cpp +++ b/src/rng/randpool/randpool.cpp @@ -31,12 +31,7 @@ enum RANDPOOL_PRF_TAG { void Randpool::randomize(byte out[], u32bit length) { if(!is_seeded()) - { - reseed(8 * mac->OUTPUT_LENGTH); - - if(!is_seeded()) - throw PRNG_Unseeded(name()); - } + throw PRNG_Unseeded(name()); update_buffer(); while(length) |