Fix timestamp printing in Signed Certificate Timestamps
authortb <tb@openbsd.org>
Wed, 24 Nov 2021 19:24:46 +0000 (19:24 +0000)
committertb <tb@openbsd.org>
Wed, 24 Nov 2021 19:24:46 +0000 (19:24 +0000)
commit8c08b2605471a62d92ca70a0ec163a4349a9cbfe
tree61a774df812a9993537ed5221e5b460e79ebb557
parent6a95fe1bc24a73e31d58d580f98040b2d316f164
Fix timestamp printing in Signed Certificate Timestamps

Our ASN1_GENERALIZEDTIME_set() doesn't accept time strings with
fractional seconds, so don't feed it milliseconds, but only seconds.
Ensures that openssl x509 -text prints timestamps instead of skipping
them.

ok beck jsing
lib/libcrypto/ct/ct_prn.c