diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2016-09-17 12:23:02 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-17 12:23:02 -0400 |
| commit | 3815b908ab669331ff99f3599086d69967dd43c6 (patch) | |
| tree | 54cca57b58a6a9a81de3df9d35c962a601fcfd0f /test.cpp | |
| parent | 91ca6c117de7ce68526e96f4f75e4813c69577dc (diff) | |
| download | cryptopp-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.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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[])
|
