Replace ASN1_time_parse() with ASN1_TIME_to_tm()
authortb <tb@openbsd.org>
Mon, 13 Nov 2023 11:46:24 +0000 (11:46 +0000)
committertb <tb@openbsd.org>
Mon, 13 Nov 2023 11:46:24 +0000 (11:46 +0000)
commit115610be49cf1f66d456767cff0990e374861cc7
tree1535260998b24449784bc39aa6a0a5eb66ce9c80
parent62af4917b1d9a57885c5e1c4c858a70f5f6e72f9
Replace ASN1_time_parse() with ASN1_TIME_to_tm()

Like in libtls, we use ASN1_GENERALIZEDTIME_check() to ensure we actually
have a GeneralizedTime.

ok beck
usr.sbin/ocspcheck/ocspcheck.c