aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzer/pow_mod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuzzer/pow_mod.cpp')
-rw-r--r--src/fuzzer/pow_mod.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/fuzzer/pow_mod.cpp b/src/fuzzer/pow_mod.cpp
index 2244c2004..e74902bd9 100644
--- a/src/fuzzer/pow_mod.cpp
+++ b/src/fuzzer/pow_mod.cpp
@@ -58,12 +58,11 @@ void fuzz(const uint8_t in[], size_t len)
if(ref != z)
{
- std::cout << "G = " << g << "\n"
- << "X = " << x << "\n"
- << "P = " << p << "\n"
- << "Z = " << z << "\n"
- << "R = " << ref << "\n";
- abort();
+ FUZZER_WRITE_AND_CRASH("G = " << g << "\n"
+ << "X = " << x << "\n"
+ << "P = " << p << "\n"
+ << "Z = " << z << "\n"
+ << "R = " << ref << "\n");
}
}
catch(Botan::Exception& e) {}