aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_gost_3410.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-12-28 13:23:40 +0000
committerlloyd <[email protected]>2014-12-28 13:23:40 +0000
commit6322dc69fcf9f3effed4e51de90b3f5b163db47e (patch)
tree6cc5a7b12b5a6648f53b4b22003f9a28b425d1fa /src/tests/test_gost_3410.cpp
parent69d883e83569dd81f02fbbd7dfbdcfc5a3918d49 (diff)
All tests now share an RNG. Uses system RNG if available
Diffstat (limited to 'src/tests/test_gost_3410.cpp')
-rw-r--r--src/tests/test_gost_3410.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/test_gost_3410.cpp b/src/tests/test_gost_3410.cpp
index 843a490b1..ccf2ed771 100644
--- a/src/tests/test_gost_3410.cpp
+++ b/src/tests/test_gost_3410.cpp
@@ -2,7 +2,7 @@
#include "test_pubkey.h"
#if defined(BOTAN_HAS_GOST_34_10_2001)
-#include <botan/auto_rng.h>
+
#include <botan/pubkey.h>
#include <botan/gost_3410.h>
#include <botan/oids.h>
@@ -20,8 +20,6 @@ size_t gost_verify(const std::string& group_id,
const std::string& msg,
const std::string& signature)
{
- AutoSeeded_RNG rng;
-
EC_Group group(OIDS::lookup(group_id));
PointGFp public_point = OS2ECP(hex_decode(x), group.get_curve());