feat(libSceLibreSsl3): implement SSL_CTX_set_timeout #16588
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16588"
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:35:44Z.
What
Implement
SSL_CTX_set_timeout(BBOgwZLvXHA) inlibSceLibreSsl3, replacing its parameterless throwing placeholder inAdditionalExports.cpp.ce488b78, the revision the library's debt file already uses.sessionTimeoutof the existingLibreSsl3SslCtxand returns the previous value. A null context returns 0 and changes nothing, as in LibreSSL.longis 64 bits on the guest, so both the argument and the result arestd::int64_t.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 newCheckContextTimeoutruns on a guardedLibreSsl3SslCtxand covers setting the same value, returning the previous value, a value above 32 bits, negative and zero values, and the null context. It also checks that no other byte of the context changes.python tools/check_conventions.py --base origin/mainpasses.I searched open and merged pull requests for
SSL_CTX_set_timeoutjust before opening this one, and none implements it. #16586 changes the same export inventory count, so whichever lands second needs a one-line 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