diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2017-05-09 16:23:30 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2017-05-09 16:23:30 -0400 |
| commit | 33235f88db56c1a34f47fb80a10c4ecf1953327b (patch) | |
| tree | 313b8ba666e8b2f60e24f3a8bd8db914640d1172 /validat1.cpp | |
| parent | 3b4a9e2ccfe3f15bd2c004f96d462e5de16b46b3 (diff) | |
| download | cryptopp-git-33235f88db56c1a34f47fb80a10c4ecf1953327b.tar.gz | |
Removed unneeded guard
Whitespace check-in
Diffstat (limited to 'validat1.cpp')
| -rw-r--r-- | validat1.cpp | 6 |
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());
|
