Remove last caller of ASN1_time_parse(3) in libtls
authortb <tb@openbsd.org>
Mon, 13 Nov 2023 10:56:19 +0000 (10:56 +0000)
committertb <tb@openbsd.org>
Mon, 13 Nov 2023 10:56:19 +0000 (10:56 +0000)
commit7a62ab42104987e2be7d4cf9d36bc7ed8601faf8
treed0738540dac979ad073b69c0bb8b496078d0cc1e
parent029ab7abc5e850934d24dd25ac8d4aaf8a8ea355
Remove last caller of ASN1_time_parse(3) in libtls

This one is slightly annoying since ASN1_TIME_to_tm(3) doesn't provide a
direct check for a GeneralizedTime, so call ASN1_GENERALIZEDTIME_check()
as well. This means LibreSSL parses the time twice. Shrug.

ok beck
lib/libtls/tls_ocsp.c