diff options
Diffstat (limited to 'include/libstate.h')
-rw-r--r-- | include/libstate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libstate.h b/include/libstate.h index 77a6ce05b..e38acd90a 100644 --- a/include/libstate.h +++ b/include/libstate.h @@ -54,6 +54,8 @@ class BOTAN_DLL Library_State void add_entropy(EntropySource&, bool); u32bit seed_prng(bool, u32bit); + RandomNumberGenerator& prng_reference() { return (*rng); } + class Config& config() const; class Mutex* get_mutex() const; |