Commit Graph

33 Commits

Author SHA1 Message Date
Marcel Raad
77bea3f630 hrtimer.cpp: fix Win32 DLL-Import build (#425)
PerformanceCounterFrequency is used independently of CRYPTOPP_IMPORTS.
2017-05-26 03:13:18 -04:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
Jeffrey Walton
81b1a18063
Change file preamble to include "originally written by Wei Dai"
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
2017-01-27 07:05:45 -05:00
Jeffrey Walton
ba75834ae9
Removed VC++ 5.0 and 6.0 workarounds (Issue 342) 2016-12-03 05:05:56 -05: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
894874fe75 Whitespace checkin 2016-09-10 04:57:48 -04:00
Jeffrey Walton
9678e80eb4 Cleaned up Windows-Store 2016-05-17 03:05:18 -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
24d10aa83e Add WIN32_LEAN_AND_MEAN to source files which inlude Windows headers 2016-04-28 01:05:47 -04:00
Jeffrey Walton
48809d4e85 CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
Jeffrey Walton
aff5105569 Removed "include <assert.h>" from files. Its now handled by "trap.h" 2015-08-03 19:21:57 -04:00
Jeffrey Walton
b7de164d62 Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
Jeffrey Walton
7b64ca489a Added "trap.h" include for header and source files that assert 2015-07-26 15:51:16 -04:00
Jeffrey Walton
fedd08f15c Cleared compiler error due to use of "LARGE_INTEGER freq = { .QuadPart = 0 };". 32-bit and 64-bit compilers accept "{ {0,0} }". Note the original code was OK, and we were probably woking around a GCC issue 2015-07-26 13:50:16 -04:00
Jeffrey Walton
d215898465 Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW 2015-07-25 07:23:22 -04:00
Jeffrey Walton
2c988356a9 Revert "Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW".
The commit accidentally committed a number of unneeded files while on Windows during testing.

This reverts commit 576749b4bb.
2015-07-25 07:19:41 -04:00
Jeffrey Walton
576749b4bb Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW 2015-07-25 07:16:45 -04:00
Jeffrey Walton
21527f8f73 Cut-over to COUNTOF in source files 2015-07-03 17:16:05 -04:00
weidai
f018ac354a fix compile on Turbo C++ 2006 2007-05-05 18:29:44 +00:00
weidai
d2f4175c59 fix compile with Sun CC 2007-05-05 02:15:11 +00:00
weidai
f9261eb107 reduce risk of random number reuse after VM rollback 2007-05-04 15:04:58 +00:00
weidai
146e78f4c9 fix compile on MSVC2002 and MSVC6 without Processor Pack 2006-12-25 08:10:19 +00:00
weidai
43b41c1042 update version number, port to Sun C++ 5.8 2006-12-18 02:34:33 +00:00
weidai
6aacd0a0de merge in changes by denis bider and fix compile on gcc 3.4.4 and MSVC 6 2006-04-06 21:20:25 +00:00
weidai
405815edbe fix compile with MSVC 6 without Processor Pack 2005-09-03 15:32:12 +00:00
weidai
bdf3852cf0 port to CodeWarrior 8.3 2004-06-20 17:56:15 +00:00
weidai
097f117d92 add missing #include 2004-04-21 08:39:59 +00:00
weidai
42ec076020 add ThreadUserTimer 2004-04-08 01:23:05 +00:00
weidai
9c5c4769a9 fix potential threading problem with initialization of static objects 2003-07-29 01:18:33 +00:00
weidai
ace4054444 fixes/workarounds for GCC 2003-06-19 19:09:57 +00:00
weidai
376fe5b4ae sync with private branch 2003-06-19 17:09:07 +00:00
weidai
1e45c2d305 compatibility fixes for MacOS X 2002-10-04 21:45:04 +00:00
weidai
a3b6ece7ab Initial revision 2002-10-04 17:31:41 +00:00