Simplify tm handling in ASN1_time_parse()
authortb <tb@openbsd.org>
Fri, 3 May 2024 18:15:27 +0000 (18:15 +0000)
committertb <tb@openbsd.org>
Fri, 3 May 2024 18:15:27 +0000 (18:15 +0000)
commit4b23cd33e69145f0c5307d8011cad8d778edac59
tree695d3b0b416f907a0d840d6fb8a5e7d693cb6b4b
parentbb0cd11ade5825e1c8d4476bf7882b2e6d1a756e
Simplify tm handling in ASN1_time_parse()

The CBS version asn1_time_parse_cbs() handles a NULL tm gracefully, so
there is no need to avoid it by passing a pointer to a tm on the stack.

ok beck
lib/libcrypto/asn1/a_time_tm.c