aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1/asn1_tm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in X509_Time: when decoding, the tag would not be set, solloyd2010-10-071-18/+24
| | | | reencoding the same object would fail. This affected CRL updates.
* Add strict comparisons for X509_Timelloyd2010-09-171-0/+6
|
* Replace time_t_to_tm with calendar_value which returns a struct representinglloyd2009-12-241-8/+8
| | | | the calendar time without tying to a particular format. From the C++0x branch.
* Consolidate the non-canonical epoch timers, like cpuid and Win32'slloyd2009-12-011-1/+1
| | | | | | | | | | | | | | QueryPerformanceCounter, into an entropy source hres_timer. Its results, if any, do not count as contributing entropy to the poll. Convert the other (monotonic/fixed epoch) timers to a single function get_nanoseconds_clock(), living in time.h, which statically chooses the 'best' timer type (clock_gettime, gettimeofday, std::clock, in that order depending on what is available). Add feature test macros for clock_gettime and gettimeofday. Remove the Timer class and timer.h. Remove the Timer& argument to the algorithm benchmark function.
* The get_tm function was duplicated. Move single version to timer.{h,cpp}lloyd2009-09-171-20/+2
|
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-46/+48
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Move almost all of the ASN.1, BER, and DER codec related code into newlloyd2008-09-281-0/+295
module asn1 Move hex and base64 codecs into new codecs directory. Also move zlib and bzip2 to codecs from compress.