fix(libSceHttp): return an empty CA list from sceHttpsGetCaList/sceHttpsFreeCaList #3497
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3497"
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 LightStorm72 on 2026-10-11T11:44:36Z.
What
Adds the missing
sceHttpsGetCaList(NIDgcUjwU3fa0M) andsceHttpsFreeCaList(NID7WcNoAI9Zcw) exports to libSceHttp.Without them, titles that import
gcUjwU3fa0Mfail at start-up with "unresolved ELF import gcUjwU3fa0M from libSceHttp.prx" (Windows error 127).No TLS or CA store is emulated, so both functions report an empty list. After the null-pointer check they set
certs = nullptr,certsNum = 0and return 0. The behavior and struct layout follow shadPS4's libSceHttp (http.cpp/http.h) and were re-implemented here, not copied.Related to #2591. #3356
Tested
Road of Death (PPSA07286) converts and starts past the import with this change (Windows). It also needs the libSceXml fix from #2591, which is a separate change.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T11:50:50Z.
The
Testedsection still contains the placeholder<game name(s)>. Please replace it with the tested title/build and the exact start result, or remove that claim if the title was not run. As written, readers cannot reproduce the reported validation.Imported from boykopovar/AnyPS5. Originally posted by LightStorm72 on 2026-10-11T11:55:43Z.
@MarcZX100 thanks, I edited it
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T12:02:13Z.
Progress report (
59559c3→7ca6b63)📈 System libraries: 86.0% (+0.01%, +2 implemented functions)
✅ 2 implemented
sceHttpsFreeCaListsceHttpsGetCaListImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T12:04:02Z.
Checked the NIDs (
gcUjwU3fa0M,7WcNoAI9Zcw), signatures and the{ void* certs; int certsNum; }layout against shadPS4 (http.cpp,ssl.h) and aerolib; build and the libSceHttp ctest pass on current main.Added on top (own commit):
http_ctx_id/initialisation (shadPS4 does) and thatsceHttpsFreeCaListnullscerts(shadPS4 leaves it).The red
conventionsjob is a checkout failure on main (No url found for submodule path '3rdparty/imgui'), not this PR; merging once it is green.Imported from boykopovar/AnyPS5. Originally posted by LightStorm72 on 2026-10-11T13:27:31Z.
@adriadam10 Thanks for checking everything! I'll wait for the
conventionscheck to be fixed and rerun before merging. Let me know if there's anything else I need to change on my side.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T17:27:51Z.
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.
main)docs/dev/TechnicalDebt.mdL44docs/dev/TechnicalDebt.mdL44Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:29:06Z.
Rebased onto current main (clean, no changes to the diff). The red
conventionsjob was the checkout failure from the stray3rdparty/imguigitlink, removed on main infab9f576a; the rebase refreshes the merge ref. libSceHttp build and ctest pass; merging once CI is green.