aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_rng.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-03-21 22:16:46 +0000
committerlloyd <[email protected]>2014-03-21 22:16:46 +0000
commit0e2b9db6eecb07d01b4756b8fa0a3307670715b6 (patch)
treebe45ca028434e55065ac70da7290e42747bebd48 /src/tests/test_rng.h
parentb4407e3d2191a166dfd0e71006180431726f3fc6 (diff)
Add HMAC_DRBG
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;
};