summaryrefslogtreecommitdiff
path: root/asn.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clear uninitialized variable warnings under xlCJeffrey Walton2017-09-011-2/+2
|
* Cleared fall through warnings under GCC 7 (Issue 441)Jeffrey Walton2017-07-171-4/+6
|
* Guard string assignmentJeffrey Walton2017-03-191-1/+4
| | | | Visual Studio 2005 fired an assert on the negative self tests because the SecByteBlock was 0-sized and returned a null pointer.
* Add Test namespace within CryptoPP namespace (Issue 379)Jeffrey Walton2017-02-211-1/+1
|
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-1/+1
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* spelling fixesklemens2016-12-271-1/+1
|
* Add additional validations based on X.690 rulesJeffrey Walton2016-12-241-5/+6
| | | | | | The library was a tad bit fast and loose with respect to parsing some of the ASN.1 presented to it. It was kind of like we used Alternate Encoding Rules (AER), which was more relaxed than BER, CER or DER. This commit closes most of the gaps. The changes are distantly related to Issue 346. Issue 346 caught a CVE bcause of the transient DoS. These fixes did not surface with negative effcts. Rather, the library was a bit too accomodating to the point it was not conforming
* Fix possible DoS in ASN.1 decoders (CVE-2016-9939)Gergely Nagy2016-12-141-0/+10
|
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-3/+3
| | | | 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
* Whitespace checkinJeffrey Walton2016-09-101-3/+3
|
* remove unwanted assertThomas Guyard2016-03-031-2/+2
|
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-602/+606
|
* Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → ↵Jeffrey Walton2015-07-301-1/+0
| | | | std::cerr, ...
* Cut-in CRYPTOPP_ASSERT in all remaining header and source filesJeffrey Walton2015-07-261-1/+1
|
* Added "trap.h" include for header and source files that assertJeffrey Walton2015-07-261-0/+1
|
* Cleared "Base class ‘class ByteQueue’ should be explicitly initialized ↵Jeffrey Walton2015-07-251-2/+2
| | | | in the copy constructor" warning under GCC 5.1 with -Wextra
* Cleared "unused parameter" warning with GCC 5.1 and -WextraJeffrey Walton2015-07-231-4/+4
|
* Cleared -Wmaybe-uninitialized under GCC 5.1Jeffrey Walton2015-07-191-1/+3
|
* Cleared unused variable and function warningsJeffrey Walton2015-07-191-0/+3
|
* small optimizationWei Dai2015-06-031-1/+1
| | | | no need to use resize here, which copies old content
* check for integer overflow in OID::DecodeValue()weidai2010-06-181-0/+2
|
* fix bug decoding optional parametersweidai2007-04-161-1/+1
|
* update version number, port to Sun C++ 5.8weidai2006-12-181-4/+4
|
* port to MSVC .NET 2005 beta 2weidai2005-07-121-38/+43
|
* fix encoding/decoding of optional attributesweidai2004-06-191-7/+36
|
* create DLL version, fix GetNextIV() bug in CTR and OFB modesweidai2003-07-041-0/+5
|
* Initial revisionweidai2002-10-041-0/+556