diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-10-20 07:36:11 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-10-20 07:36:11 -0400 |
commit | 1d0c659fd78ef64c893e67b3fa9b0bc91439e803 (patch) | |
tree | eea968d8ef270284a201532c5fd1adbda22f3781 /validat3.cpp | |
parent | 1de4f39f86f7cd673f0e3d9bb3d250a86b4b5641 (diff) | |
download | cryptopp-git-1d0c659fd78ef64c893e67b3fa9b0bc91439e803.tar.gz |
Fix compile error when NO_OS_DEPENDENCE
Diffstat (limited to 'validat3.cpp')
-rw-r--r-- | validat3.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/validat3.cpp b/validat3.cpp index 0f7e8fa3..e1c4401a 100644 --- a/validat3.cpp +++ b/validat3.cpp @@ -604,7 +604,7 @@ bool TestRandomPool() bool pass=true;
try {prng.reset(new RandomPool);}
- catch (OS_RNG_Err &) {}
+ catch (Exception &) {}
if(prng.get())
{
@@ -614,7 +614,7 @@ bool TestRandomPool() #if !defined(NO_OS_DEPENDENCE) && defined(OS_RNG_AVAILABLE)
try {prng.reset(new AutoSeededRandomPool);}
- catch (OS_RNG_Err &) {}
+ catch (Exception &) {}
if(prng.get())
{
@@ -626,7 +626,7 @@ bool TestRandomPool() // Old, PGP 2.6 style RandomPool. Added because users were still having problems
// with it in 2017. The missing functionality was a barrier to upgrades.
try {prng.reset(new OldRandomPool);}
- catch (OS_RNG_Err &) {}
+ catch (Exception &) {}
if(prng.get())
{
|