From 6322dc69fcf9f3effed4e51de90b3f5b163db47e Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 28 Dec 2014 13:23:40 +0000 Subject: All tests now share an RNG. Uses system RNG if available --- src/tests/unit_tls.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/unit_tls.cpp') diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp index cc5c1e240..91cd094f2 100644 --- a/src/tests/unit_tls.cpp +++ b/src/tests/unit_tls.cpp @@ -3,7 +3,7 @@ #if defined(BOTAN_HAS_TLS) -#include + #include #include #include @@ -282,7 +282,7 @@ size_t test_tls() size_t errors = 0; Test_Policy default_policy; - AutoSeeded_RNG rng; + auto& rng = test_rng(); std::auto_ptr basic_creds(create_creds(rng)); errors += basic_test_handshake(rng, TLS::Protocol_Version::SSL_V3, *basic_creds, default_policy); -- cgit v1.2.3