From 1d0c659fd78ef64c893e67b3fa9b0bc91439e803 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 20 Oct 2018 07:36:11 -0400 Subject: Fix compile error when NO_OS_DEPENDENCE --- validat3.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'validat3.cpp') 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()) { -- cgit v1.2.1