aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_rng.h')
-rw-r--r--src/tests/test_rng.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test_rng.h b/src/tests/test_rng.h
index b3da5f08a..6a5052973 100644
--- a/src/tests/test_rng.h
+++ b/src/tests/test_rng.h
@@ -54,6 +54,8 @@ class Fixed_Output_RNG : public Botan::RandomNumberGenerator
}
Fixed_Output_RNG() {}
+ protected:
+ size_t remaining() const { return buf.size(); }
private:
std::deque<byte> buf;
};