summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-17 12:23:02 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-17 12:23:02 -0400
commit3815b908ab669331ff99f3599086d69967dd43c6 (patch)
tree54cca57b58a6a9a81de3df9d35c962a601fcfd0f /test.cpp
parent91ca6c117de7ce68526e96f4f75e4813c69577dc (diff)
downloadcryptopp-git-3815b908ab669331ff99f3599086d69967dd43c6.tar.gz
Add ossig.h. Move SignalHandler to ossig.h
This avoids a circular dependency between misc.h and trap.h. It also allows us to logically segregate and group code to replace C++ handlers, like set_terminate
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.cpp b/test.cpp
index 52dd740a..682db2f8 100644
--- a/test.cpp
+++ b/test.cpp
@@ -21,6 +21,7 @@
#include "whrlpool.h"
#include "tiger.h"
#include "smartptr.h"
+#include "ossig.h"
#include "trap.h"
#include "validate.h"
@@ -132,6 +133,7 @@ RandomNumberGenerator & GlobalRNG()
// See misc.h and trap.h for comments and usage
#if CRYPTOPP_DEBUG && (defined(CRYPTOPP_BSD_AVAILABLE) || defined(CRYPTOPP_UNIX_AVAILABLE))
static const SignalHandler<SIGTRAP, false> s_dummyHandler;
+// static const DebugTrapHandle s_dummyHandler;
#endif
int CRYPTOPP_API main(int argc, char *argv[])