feat(libSceLibreSsl3): implement SSL_get_version #16586
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16586"
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 GalaxyGamingFR on 2026-11-07T07:12:45Z.
What
Implement
SSL_get_version(dL2V0os4TZ4) inlibSceLibreSsl3, replacing its parameterless throwing placeholder inAdditionalExports.cpp.ce488b78, the revision the library's debt file already uses:SSL_get_versionandssl_version_string.versionat offset 0 of the existingLibreSsl3Ssland returnsTLSv1,TLSv1.1,TLSv1.2,TLSv1.3,DTLSv1orDTLSv1.2. Any other value returnsunknown. The result is a static string.std::invalid_argument, asSSL_up_refdoes in the same file. LibreSSL dereferences it and faults.The gap is recorded in
docs/dev/debt/libSceLibreSsl3.md, and the export inventory is updated (144 exports, 134 named).No title's trace or disassembly was used, and the export was not measured on a PS5.
Tested
Windows 11, MinGW-w64 GCC 15.2 (WinLibs), Release build. No title or homebrew, and not built on Linux or macOS.
guest_libressl3_sslpasses. The newCheckVersionNamecovers the six named versions, four unknown values (0x0300,0x0305,0xFEFE,0) and the null throw. It runs on a guardedLibreSsl3Ssland checks that no byte of the connection changes.TLSv1.3returningTLSv1.2, makes the test fail.python tools/check_conventions.py --base origin/mainpasses.I checked the added lines of the open pull request diffs fetched earlier today for
SSL_get_version, and searched open and closed pull requests for it just before opening this one. None implements it.#14890,#15289and others only touch the neighbouring debt table lines, so the export inventory count may need a rebase.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)🤖 Generated with Claude Code
Pull request closed