aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-22 18:09:10 -0400
committerJack Lloyd <[email protected]>2017-09-22 18:09:10 -0400
commita91f507e6a9d94244d56385bc5f17bb8c6bcf31e (patch)
treedd36dcc3b0aee34e41c5aabdd29d74aea0dafcad /src/lib
parent034a12e6361be524823d8701b66c3ca5c78e6243 (diff)
Slight improvements to RNG tests
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/rng/system_rng/system_rng.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/rng/system_rng/system_rng.h b/src/lib/rng/system_rng/system_rng.h
index 491c4d1b3..4e3beaf9f 100644
--- a/src/lib/rng/system_rng/system_rng.h
+++ b/src/lib/rng/system_rng/system_rng.h
@@ -31,9 +31,9 @@ class BOTAN_PUBLIC_API(2,0) System_RNG final : public RandomNumberGenerator
void add_entropy(const uint8_t in[], size_t length) override { system_rng().add_entropy(in, length); }
- bool is_seeded() const override { return true; }
+ bool is_seeded() const override { return system_rng().is_seeded(); }
- void clear() override {}
+ void clear() override { system_rng().clear(); }
};
}