Repository navigation
feat(libSceLibreSsl3): implement ASN1_TIME_new and X509_gmtime_adj - #15765
Conversation
|
Windows check of head Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release. The hosted Windows check does not run this test on pull requests.
AI-assisted: yes. |
Progress report (f9627b7 → 588544b)📈 System libraries: 34.87% (+0.0052%, +2 implemented functions) ✅ 2 implemented
Changed libraries (implemented exports)
|
ecb1623 to
ee3b1f0
Compare
ee3b1f0 to
964a73b
Compare
|
Rebased on |
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
964a73b to
07becf2
Compare
… clock as RFC 5280 time
07becf2 to
588544b
Compare
|
Checked Rebased onto current |
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 ecb1623 (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)