feat(libSceLibreSsl3): implement ASN1_TIME_new and X509_gmtime_adj #15765
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15765"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by alvaroelpob on 2026-11-04T13:31:18Z.
What
Implements the libSceLibreSsl3 ASN1_TIME_new and X509_gmtime_adj exports as in LibreSSL 4.0.0. ASN1_TIME_new returns an empty multi-string ASN1_TIME from the guest heap. X509_gmtime_adj writes the current time plus an offset as UTCTime for 1950 to 2049 and as GeneralizedTime otherwise, into the given string or a new one.
Tested
Full suite on ecb162375b (Linux): 3883/3883 passed, including the new guest_libressl3_time_new test. It covers ASN1_TIME_new and its allocation failure, X509_gmtime_adj against the host clock, reuse of an existing string, both allocation failures, the UTCTime and GeneralizedTime boundaries at 1950 and 2050, years 0 and 9999, and out-of-range offsets. check_conventions passes.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)