Jeffrey Walton
ae3922dda0
Remove calls to cout.flush() for AppVeyor
...
They seemed to produce a hang when running self tests in AppVeyor.
Also use IsDebuggerPresent() to determine when we should call DebugBreak(). The OS killed our debug build when fuzzing caused an assert to fail
2017-05-29 00:43:20 -04:00
Jeffrey Walton
8c20630c2d
Remove extra preamble for copyright.
...
Similar text may be added in the future
2017-02-21 02:54:09 -05:00
Paweł Bylica
903b8feaa7
Replace assert with void instruction
...
In release builds replace assert with void instruction `(void)0`. Otherwise in some places you will end up with statements like `if (...) ;` and some compiler will complain about it.
2017-01-04 18:47:04 +01:00
Jeffrey Walton
841c37e347
Add NIST_DRBG::Err class. Add additional checking per SP 800-90A. Update documentation
2017-01-01 05:53:55 -05:00
klemens
5a5c633073
spelling fixes
2016-12-27 18:34:57 +01:00
Jeffrey Walton
54d17c7361
Updated CRYPTOPP_ASSERT based on comments
...
Also see 399a1546de (commitcomment-19448453)
2016-10-17 22:00:31 -04:00
Jeffrey Walton
5596f73371
Fix Cygwin Newlib signal handler (Issue 315)
2016-10-14 15:00:49 -04:00
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