fix(libSceSsl): add missing verification callback export #4078
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4078"
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 MarcZX10 on 2026-10-11T22:48:51Z.
What
Adds the missing
sceSslSetVerifyCallbackexport as an explicit throwing stub and pins that behavior inguest_ssl. On currentmain,ffmpeg.prxstill stops at this unresolved import; the other five connection exports already have throwing stubs, so this PR does not repeat them.Why
This is the minimal change needed to resolve the reported
ffmpeg.prximport without claiming that SSL connection behavior is implemented. The callback signature remains unknown, so the export intentionally takes no arguments and throws throughNotImplemented_nid_no_patch.Tested
guest_sslassertion that the export throws; this is coverage included in the PR, not a locally run test result.6bd44ee0bis based on currentmain6e83cad17574960029bdca66626dff57cfb7bb4c.git diff --check upstream/main...HEADpasses. I have not built or run tests on this rebased head.Checklist
#3897dependencyImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T22:50:24Z.
Linux validation on the rebased head passed: GCC 12.2 Release/Ninja built
guest_ssl_testsand its dependencies, and CTestguest_sslpassed 1/1.tools/check_conventions.py --base mainandgit diff --checkalso passed. Windows behavior remains for CI to verify.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T23:02:00Z.
Progress report (
075169f→e34281b)📉 System libraries: 88.41% (-0.03%, +1 declared functions)
🆕 1 declared as stubs
sceSslSetVerifyCallbackImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-12T08:25:11Z.
Which title calls these? On main five of the six are already throwing stubs (#3773), so
ffmpeg.prxonly lackssceSslSetVerifyCallbackto load. Without a title that reaches the calls, please reduce this to that one export throwing withNotImplemented_nid_no_patch(__func__); that also drops the libSceNet link and the conflict with #3897.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-12T20:32:20Z.
Review: CHANGES_REQUESTED
Thanks for carrying this. Points to address:
sceSslSetVerifyCallbackis missing forffmpeg.prxto load. Please reduce the PR to that one export throwing withNotImplemented_nid_no_patch(__func__); that also drops thelibSceNetlink incore/libs/prx/libSceSsl/CMakeLists.txtand the dependency on #3897. If you keep the full set, name a title that reaches these calls past loading.docs/dev/debt/libSceSsl.md:12and:13are the same line twice.docs/dev/debt/libSceSsl.md:11still listssceSslCreateConnection,sceSslDeleteConnection,sceSslConnect,sceSslReadandsceSslWriteas having no implementation, which this PR makes false (or the reduced PR changes: update it to match).Depends on: #3897, but the diff doesn't use anything from it; drop it or say what it needs.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T07:13:30Z.
Thanks, I agree with the scope concern. I do not have a title run showing any of the connection calls executing; the evidence only shows that ffmpeg.prx needs the missing import to load. I will reduce this PR to sceSslSetVerifyCallback as an explicit throwing export, remove the unrelated exports and libSceNet dependency, and fix the duplicated TechnicalDebt line before requesting another review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T07:22:34Z.
Addressed in
62be5ffe5and narrowed the PR tosceSslSetVerifyCallbackonly. The five connection exports remain out of this change; I also removed the unrelatedlibSceNet/#3897dependency and updated the stale SSL debt entry. The test now asserts that the new export throws. I have not built or run this reduced head locally, so the earlier Linux results for the broader patch should not be treated as validation of this version. The PR description now reflects that limitation and retains the AI-assisted disclosure.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T08:14:32Z.
Rebased the reduced one-export change onto current
main6e83cad17574960029bdca66626dff57cfb7bb4c; it applied cleanly, retaining onlysceSslSetVerifyCallback, itsguest_sslthrow assertion, and the matching debt entry. The unrelated exports and#3897dependency remain removed.git diff --checkpasses; I have not built or run the rebased head. The PR description now states the exact base and validation status. Please re-review this updated scope when convenient.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-13T10:54:19Z.
Review: APPROVED
Thanks for narrowing this to the one export. Checked: build +
guest_sslgreen on main plus the PR;guest_sslfails to link without the change.Added one commit:
docs/dev/debt/libSceSsl.md:12had also droppedsceSslCreateConnection,sceSslDeleteConnection,sceSslEnableVerifyOption,sceSslConnect,sceSslReadandsceSslWrite, which are still throwing stubs with unknown signatures, so the entry now lists them again next tosceSslSetVerifyCallback. Merging once the full build is green.