fix(libSceSsl): add missing verification callback export #4078

Merged
MarcZX10 merged 2 commits from upstream-pr/4078 into main 2026-10-13 12:26:09 +00:00
MarcZX10 commented 2026-10-11 22:48:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T22:48:51Z.


What

Adds the missing sceSslSetVerifyCallback export as an explicit throwing stub and pins that behavior in guest_ssl. On current main, ffmpeg.prx still 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.prx import without claiming that SSL connection behavior is implemented. The callback signature remains unknown, so the export intentionally takes no arguments and throws through NotImplemented_nid_no_patch.

Tested

  • The diff adds a guest_ssl assertion that the export throws; this is coverage included in the PR, not a locally run test result.
  • Rebased head 6bd44ee0b is based on current main 6e83cad17574960029bdca66626dff57cfb7bb4c.
  • git diff --check upstream/main...HEAD passes. I have not built or run tests on this rebased head.
  • Earlier Linux results were from the broader implementation and do not validate this reduced head. Windows behavior remains for CI to verify.

Checklist

  • One topic: the missing verification-callback export
  • The unsupported behavior throws explicitly
  • Technical-debt documentation lists only this missing SSL import
  • Depends on: none
  • No unrelated networking dependency or #3897 dependency
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4822980768 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4078). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-11T22:48:51Z. --- ### What Adds the missing `sceSslSetVerifyCallback` export as an explicit throwing stub and pins that behavior in `guest_ssl`. On current `main`, `ffmpeg.prx` still 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.prx` import without claiming that SSL connection behavior is implemented. The callback signature remains unknown, so the export intentionally takes no arguments and throws through `NotImplemented_nid_no_patch`. ### Tested - The diff adds a `guest_ssl` assertion that the export throws; this is coverage included in the PR, not a locally run test result. - Rebased head `6bd44ee0b` is based on current `main` `6e83cad17574960029bdca66626dff57cfb7bb4c`. - `git diff --check upstream/main...HEAD` passes. I have not built or run tests on this rebased head. - Earlier Linux results were from the broader implementation and do not validate this reduced head. Windows behavior remains for CI to verify. ### Checklist - [x] One topic: the missing verification-callback export - [x] The unsupported behavior throws explicitly - [x] Technical-debt documentation lists only this missing SSL import - [x] Depends on: none - [x] No unrelated networking dependency or `#3897` dependency - [x] AI-assisted: yes
MarcZX10 commented 2026-10-11 22:50:24 +00:00 (Migrated from github.com)

Imported 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_tests and its dependencies, and CTest guest_ssl passed 1/1. tools/check_conventions.py --base main and git diff --check also passed. Windows behavior remains for CI to verify.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114783245 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4078#issuecomment-6114783245). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-11T22:50:24Z. --- Linux validation on the rebased head passed: GCC 12.2 Release/Ninja built `guest_ssl_tests` and its dependencies, and CTest `guest_ssl` passed 1/1. `tools/check_conventions.py --base main` and `git diff --check` also passed. Windows behavior remains for CI to verify.
github-actions[bot] commented 2026-10-11 23:02:00 +00:00 (Migrated from github.com)

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
Library Name
libSceSsl sceSslSetVerifyCallback
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114877304 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4078#issuecomment-6114877304). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T23:02:00Z. --- <!-- progress-report --> ### Progress report (075169f → e34281b) 📉 **System libraries**: 88.41% (-0.03%, +1 declared functions) <details> <summary>🆕 1 declared as stubs</summary> | Library | Name | | - | - | | libSceSsl | `sceSslSetVerifyCallback` | </details>
oneandonlydean commented 2026-10-12 08:25:11 +00:00 (Migrated from github.com)

Imported 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.prx only lacks sceSslSetVerifyCallback to load. Without a title that reaches the calls, please reduce this to that one export throwing with NotImplemented_nid_no_patch(__func__); that also drops the libSceNet link and the conflict with #3897.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6120535328 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4078#issuecomment-6120535328). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-12T08:25:11Z. --- Which title calls these? On main five of the six are already throwing stubs (#3773), so `ffmpeg.prx` only lacks `sceSslSetVerifyCallback` to load. Without a title that reaches the calls, please reduce this to that one export throwing with `NotImplemented_nid_no_patch(__func__)`; that also drops the libSceNet link and the conflict with #3897.
adriadam10 commented 2026-10-12 20:32:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-12T20:32:20Z.

Review: CHANGES_REQUESTED


Thanks for carrying this. Points to address:

  • @oneandonlydean's question from 2026-10-12 is still open: five of the six exports are already throwing stubs on main (#3773), so only sceSslSetVerifyCallback is missing for ffmpeg.prx to load. Please reduce the PR to that one export throwing with NotImplemented_nid_no_patch(__func__); that also drops the libSceNet link in core/libs/prx/libSceSsl/CMakeLists.txt and the dependency on #3897. If you keep the full set, name a title that reaches these calls past loading.
  • docs/dev/debt/libSceSsl.md:12 and :13 are the same line twice.
  • The PPSA07411 line at docs/dev/debt/libSceSsl.md:11 still lists sceSslCreateConnection, sceSslDeleteConnection, sceSslConnect, sceSslRead and sceSslWrite as having no implementation, which this PR makes false (or the reduced PR changes: update it to match).
  • The checklist says Depends on: #3897, but the diff doesn't use anything from it; drop it or say what it needs.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5495674743 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4078#pullrequestreview-5495674743). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-12T20:32:20Z. **Review:** CHANGES_REQUESTED --- Thanks for carrying this. Points to address: - @oneandonlydean's question from 2026-10-12 is still open: five of the six exports are already throwing stubs on main (#3773), so only `sceSslSetVerifyCallback` is missing for `ffmpeg.prx` to load. Please reduce the PR to that one export throwing with `NotImplemented_nid_no_patch(__func__)`; that also drops the `libSceNet` link in `core/libs/prx/libSceSsl/CMakeLists.txt` and the dependency on #3897. If you keep the full set, name a title that reaches these calls past loading. - `docs/dev/debt/libSceSsl.md:12` and `:13` are the same line twice. - The PPSA07411 line at `docs/dev/debt/libSceSsl.md:11` still lists `sceSslCreateConnection`, `sceSslDeleteConnection`, `sceSslConnect`, `sceSslRead` and `sceSslWrite` as having no implementation, which this PR makes false (or the reduced PR changes: update it to match). - The checklist says `Depends on: #3897`, but the diff doesn't use anything from it; drop it or say what it needs.
MarcZX10 commented 2026-10-13 07:13:30 +00:00 (Migrated from github.com)

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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6140339171 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4078#issuecomment-6140339171). Originally posted by [MarcZX10](https://github.com/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.
MarcZX10 commented 2026-10-13 07:22:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T07:22:34Z.


Addressed in 62be5ffe5 and narrowed the PR to sceSslSetVerifyCallback only. The five connection exports remain out of this change; I also removed the unrelated libSceNet/#3897 dependency 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6140477402 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4078#issuecomment-6140477402). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-13T07:22:34Z. --- Addressed in `62be5ffe5` and narrowed the PR to `sceSslSetVerifyCallback` only. The five connection exports remain out of this change; I also removed the unrelated `libSceNet`/`#3897` dependency 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.
MarcZX10 commented 2026-10-13 08:14:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T08:14:32Z.


Rebased the reduced one-export change onto current main 6e83cad17574960029bdca66626dff57cfb7bb4c; it applied cleanly, retaining only sceSslSetVerifyCallback, its guest_ssl throw assertion, and the matching debt entry. The unrelated exports and #3897 dependency remain removed. git diff --check passes; 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6141287517 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4078#issuecomment-6141287517). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-13T08:14:32Z. --- Rebased the reduced one-export change onto current `main` `6e83cad17574960029bdca66626dff57cfb7bb4c`; it applied cleanly, retaining only `sceSslSetVerifyCallback`, its `guest_ssl` throw assertion, and the matching debt entry. The unrelated exports and `#3897` dependency remain removed. `git diff --check` passes; 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.
adriadam10 commented 2026-10-13 10:54:19 +00:00 (Migrated from github.com)

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_ssl green on main plus the PR; guest_ssl fails to link without the change.

Added one commit: docs/dev/debt/libSceSsl.md:12 had also dropped sceSslCreateConnection, sceSslDeleteConnection, sceSslEnableVerifyOption, sceSslConnect, sceSslRead and sceSslWrite, which are still throwing stubs with unknown signatures, so the entry now lists them again next to sceSslSetVerifyCallback. Merging once the full build is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5502437325 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4078#pullrequestreview-5502437325). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-13T10:54:19Z. **Review:** APPROVED --- Thanks for narrowing this to the one export. Checked: build + `guest_ssl` green on main plus the PR; `guest_ssl` fails to link without the change. Added one commit: `docs/dev/debt/libSceSsl.md:12` had also dropped `sceSslCreateConnection`, `sceSslDeleteConnection`, `sceSslEnableVerifyOption`, `sceSslConnect`, `sceSslRead` and `sceSslWrite`, which are still throwing stubs with unknown signatures, so the entry now lists them again next to `sceSslSetVerifyCallback`. Merging once the full build is green.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!4078
No description provided.