summaryrefslogtreecommitdiff
path: root/validat1.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-05-09 16:23:30 -0400
committerJeffrey Walton <noloader@gmail.com>2017-05-09 16:23:30 -0400
commit33235f88db56c1a34f47fb80a10c4ecf1953327b (patch)
tree313b8ba666e8b2f60e24f3a8bd8db914640d1172 /validat1.cpp
parent3b4a9e2ccfe3f15bd2c004f96d462e5de16b46b3 (diff)
downloadcryptopp-git-33235f88db56c1a34f47fb80a10c4ecf1953327b.tar.gz
Removed unneeded guard
Whitespace check-in
Diffstat (limited to 'validat1.cpp')
-rw-r--r--validat1.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/validat1.cpp b/validat1.cpp
index 07a0a01a..22d9905f 100644
--- a/validat1.cpp
+++ b/validat1.cpp
@@ -833,11 +833,8 @@ bool TestRDRAND()
bool entropy = true, compress = true, discard = true, crop = true;
member_ptr<RandomNumberGenerator> rng;
-#ifdef BLOCKING_RNG_AVAILABLE
try {rng.reset(new RDRAND);}
catch (const RDRAND_Err &) {}
-#endif
-
if (rng.get())
{
RDRAND& rdrand = dynamic_cast<RDRAND&>(*rng.get());
@@ -934,11 +931,8 @@ bool TestRDSEED()
bool entropy = true, compress = true, discard = true, crop = true;
member_ptr<RandomNumberGenerator> rng;
-#ifdef BLOCKING_RNG_AVAILABLE
try {rng.reset(new RDSEED);}
catch (const RDSEED_Err &) {}
-#endif
-
if (rng.get())
{
RDSEED& rdseed = dynamic_cast<RDSEED&>(*rng.get());