summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorbeck <>2024-03-26 00:39:22 +0000
committerbeck <>2024-03-26 00:39:22 +0000
commit3604a06d3b1412f3b3b3959a358b2c8e2a07836a (patch)
tree6dd26637f37e838317ca1c60102598aac9f0db14 /src/lib/libc
parente45e73d8f6ec2c8e3433199494319c6045bc2ae5 (diff)
downloadopenbsd-3604a06d3b1412f3b3b3959a358b2c8e2a07836a.tar.gz
openbsd-3604a06d3b1412f3b3b3959a358b2c8e2a07836a.tar.bz2
openbsd-3604a06d3b1412f3b3b3959a358b2c8e2a07836a.zip
Change ts to only support one second precision.
RFC 3631 allows for sub second ASN1 GENERALIZED times, if you choose to support sub second time precison. It does not indicate that an implementation must support them. Supporting sub second timestamps is just silly and unrealistic, so set our maximum to one second of precision. We then simplify this code by removing some nasty eye-bleed that made artisinally hand crafted strings and jammed them into an ASN1_GENERALIZEDTIME. ok tb@, jsing@, with one second precision tested by kn@
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions