Jeffrey Walton
ae3342fddc
Moves <ossig.h> include into Linux and Unix section
2016-09-18 20:43:00 -04:00
Jeffrey Walton
7620976826
Guard inclusion of <intrin.h> with VS2005 and above
2016-09-17 18:42:35 -04:00
Jeffrey Walton
b7a08f1110
Use __debugbreak rather than DebugBreak on Windows
...
Also see "How to get a declaration for DebugBreak without including Windows.h?" (http://stackoverflow.com/q/39551229 ) on Stack Overflow
2016-09-17 17:17:28 -04:00
Jeffrey Walton
3815b908ab
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
2016-09-17 12:23:02 -04:00
Jeffrey Walton
399a1546de
Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)
...
trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
2016-09-16 11:27:15 -04:00
Jeffrey Walton
d294b4290b
Add changes for Windows Sotre that went missing with my clumsy Git skills
2016-05-09 03:07:57 -04:00
Jeffrey Walton
373e7283e2
Removed _WIN32_WINNT define (Issue 166)
2016-04-28 10:00:20 -04:00
Jeffrey Walton
09b5d2f5dd
Switched to DebugBreak() for Windows machines to snap the debugger and allow a continue
2015-08-03 19:17:42 -04:00
Jeffrey Walton
77206baf56
Whitespace checkin
2015-07-30 13:07:33 -04:00
Jeffrey Walton
f4a584da6e
Added comment about test.cpp and DebugTrapHandler for example code
2015-07-26 15:26:47 -04:00
Jeffrey Walton
931ec17224
Added CRYPTOPP_ASSERT (but its not cut-in yet). It required another file because misc.h needed it. (The other options were to force it into misc.h early or drop it in config.h)
2015-07-22 02:11:52 -04:00