diff options
Diffstat (limited to 'src/rng/hmac_rng/hmac_rng.cpp')
-rw-r--r-- | src/rng/hmac_rng/hmac_rng.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rng/hmac_rng/hmac_rng.cpp b/src/rng/hmac_rng/hmac_rng.cpp index 4f6a90565..6911a3af5 100644 --- a/src/rng/hmac_rng/hmac_rng.cpp +++ b/src/rng/hmac_rng/hmac_rng.cpp @@ -215,8 +215,8 @@ HMAC_RNG::~HMAC_RNG() delete extractor; delete prf; - for(auto i = entropy_sources.begin(); i != entropy_sources.end(); ++i) - delete *i; + for(auto src : entropy_sources) + delete src; counter = 0; } |