aboutsummaryrefslogtreecommitdiffstats
path: root/src/der_enc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change the copyrights in all files in the Botan tree to directly reflectlloyd2008-04-101-1/+1
| | | | | | the actual copyright holders. For rationale, see my post to botan-devel on April 9, subject 'Changing license to directly reflect contributors' (http://www.randombit.net/pipermail/botan-devel/2008-April/000527.html)
* Mostly revert 2f4fd18182d5a75c40cd831e7ee3c314be5c57d6, only keep thelloyd2008-03-101-1/+1
| | | | | updated dates on files that have actually changed this year. This makes the diff across versions readable again.
* Mass update of the copyright date. Honestly I don't know why I bother,lloyd2008-02-141-1/+1
| | | | | | | but might as well keep it up to date. And it's easier to do it once with a 'perl -pi' command than to update each file over time. Apologies to anyone looking at diffs.
* Revert the change that renamed append() to push_back(). As pointed outlloyd2007-11-151-18/+18
| | | | | | by Joel Low on the mailing list, the STL container types have only a single version of push_back(), along with variations of insert() for handling range-based appending.
* Rename MemoryRegion::append to push_backlloyd2007-11-141-18/+18
| | | | Change all callers in the library and self-test code.
* bit_ops.h no longer includes loadstor.hlloyd2007-10-191-0/+1
| | | | | | | | | Where loadstor.h was needed but only implicitly included via bit_ops.h, include it directly Add endian reversal functions to bit_ops.h Remove some unneeded includes in big_ops2.cpp and a few other files.
* Avoid C-style casts (as detected by GCC's -Wold-style-cast) and instead use lloyd2007-07-231-5/+5
| | | | static_cast or reinterpret_cast, as needed.
* Use std::string::data() instead of std::string::c_str() in cases where welloyd2007-07-211-1/+1
| | | | | just want access to the underlying data representation but don't care if the return value is NULL terminated or not.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Turns out that DER_Cmp's comparison is exactly the same as the onelloyd2006-06-191-29/+1
| | | | | | built into MemoryRegion (no real surprise, as they are both simple byte-wise lexicographical compares), so remove it and just use the MemoryRegion<>::operator< for sorting sets
* Use .empty() instead of comparing .size() to 0 in a few cases, andlloyd2006-05-271-4/+5
| | | | | reorder an if statement for better readability.
* Syntax changes to the BER and DER APIs to improve readability of codelloyd2006-05-191-115/+53
| | | | | that uses them. These changes are not backwards compatible, this commit updates all uses of the APIs within the library.
* Initial checkin1.5.6lloyd2006-05-181-0/+479