Roland C. Dowdeswell
9cf1b20313
asn1: clamp far-future times on 32-bit time_t
...
Compute DER generalized time conversion in uint64_t and clamp to the
local time_t range before returning. This avoids wrapping far-future
ASN.1 times on 32-bit time_t platforms. We do not address time_t
being a non-integral type.
2026-06-15 14:09:41 -05:00
Love Hornquist Astrand
060474df16
quel 64bit warnings, fixup implicit encoding for template, fix spelling
2013-06-03 21:46:20 -07:00
Love Hornquist Astrand
ade3d65e73
more limits
2011-05-22 20:57:30 -07:00
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
f5f9014c90
Warning fixes from Christos Zoulas
...
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Love Hornquist Astrand
3ae4c52cbc
make _der_gmtime pickier about times is willing to convert
2011-04-23 19:57:14 -07:00
Love Hornquist Astrand
5fc132d888
add _der_gmtime, use and test it
2010-09-29 13:32:39 -07:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
ea38249109
Fix spelling caused by too much query-replace.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21366 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-27 10:06:22 +00:00
Love Hörnquist Åstrand
1ae8d3c3b9
make more strict
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 16:19:32 +00:00
Love Hörnquist Åstrand
9b3a1cdf7a
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 12:51:06 +00:00
Love Hörnquist Åstrand
989b0b530f
vJust fail if tm_mon is out of range for now XXXX this is wrong.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 12:47:33 +00:00
Love Hörnquist Åstrand
9dc0d8d6b4
rename the buildin timegm to _der_timegm
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:17:43 +00:00
Johan Danielsson
c5b916ca6f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Johan Danielsson
91bc48eadb
Fix leap year for 2000.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2983 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-15 00:53:39 +00:00
Assar Westerlund
ca44e29ff4
made some variables unsigned in a stupid attempt to cut down on the
...
number of warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2703 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-05 20:53:07 +00:00
Johan Danielsson
5a32a5c8e7
Add copyright notice.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
c1439d2cd8
changed asn1_locl.h to gen_locl.h and der_locl.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2328 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-15 20:02:05 +00:00
Johan Danielsson
c474b5cea4
Conditional compile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1841 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-06 14:30:40 +00:00
Assar Westerlund
4c58691372
new file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1571 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-13 22:13:05 +00:00