x509asn1: clean up GTime2str
authorDaniel Stenberg <daniel@haxx.se>
Tue, 30 Jul 2024 08:05:17 +0000 (10:05 +0200)
committerAquila Macedo Costa <aquilamacedo@riseup.net>
Tue, 17 Sep 2024 19:29:24 +0000 (16:29 -0300)
commita40e9a858b75f6357cb655c25c42f852a17e3f2d
tree1106c03118e5a02a8472c5502147aed451515823
parent1babbc51c7f05c856606e536dd3b2930e01cb9d0
x509asn1: clean up GTime2str

Co-authored-by: Stefan Eissing
Reported-by: Dov Murik
Closes #14307

Backported to Debian by Carlos Henrique Lima Melara <charles@debian.org>.

Changes:
- In this version, GTime2str doesn't return CURLcode, so change that to NULL.

Gbp-Pq: Name CVE-2024-7264-0.patch
lib/vtls/x509asn1.c