aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/rng_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/rng_test.cpp')
-rw-r--r--doc/examples/rng_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/rng_test.cpp b/doc/examples/rng_test.cpp
index 9ecb04e78..8d4253a6e 100644
--- a/doc/examples/rng_test.cpp
+++ b/doc/examples/rng_test.cpp
@@ -105,6 +105,8 @@ void x931_tests(std::vector<std::pair<std::string, std::string> > vecs,
int main()
{
+ Botan::LibraryInitializer init;
+
x931_tests(read_file("ANSI931_AES128VST.txt.vst"), "AES-128");
x931_tests(read_file("ANSI931_AES192VST.txt.vst"), "AES-192");
x931_tests(read_file("ANSI931_AES256VST.txt.vst"), "AES-256");