x509asn1: clean up GTime2str
authorDaniel Stenberg <daniel@haxx.se>
Tue, 30 Jul 2024 08:05:17 +0000 (10:05 +0200)
committerSamuel Henrique <samueloph@debian.org>
Sun, 9 Mar 2025 10:45:45 +0000 (10:45 +0000)
commit0e3487692cda51b86cf98ec2e3c70d2abeddef1b
tree0fa49b22d37c93ab424c712e56b74b5691dcc5c6
parent6c57330cd4451f383ff5eb824cd3e62bd73e9676
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