feat(libSceLibreSsl): implement SSL_connect, SSL_read, SSL_write and the rest of TLS I/O over mbedtls #12730

Merged
AdnanKhan-ak47 merged 2 commits from upstream-pr/12730 into main 2026-11-21 02:07:23 +00:00
AdnanKhan-ak47 commented 2026-10-29 05:52:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by AdnanKhan-ak47 on 2026-10-29T05:52:23Z.


What

Implements the LibreSSL 2.5.4 TLS connection exports in libSceLibreSsl over an mbedtls engine on guest sockets, on top of #12729 (methods and SSL_CTX/SSL lifecycle), which is now merged.

With #12729 merged, the branch is main plus this PR's two commits: 14 files, +4,501/−60 (2,615 of them tests). c6931c2d5f squashes the engine (5a82bb22b6), the exports on it (982bff5d57) and the review fixes; 0aa621cf84 is a test-only fix from ahmadmuj's review.

Exports (8): SSL_connect, SSL_accept, SSL_read, SSL_peek, SSL_write, SSL_pending, SSL_shutdown, SSL_get_error. The TLS method slots for connect, accept, read, peek, write, shutdown and pending now point at the same implementation; the DTLS slots still throw, since SSL_new refuses DTLS. SSL_ctrl (from #11143) gains case 55, SSL_CTRL_SET_TLSEXT_HOSTNAME, following s3_lib.c: a guest-heap copy of the name, error 319 for a name over 255 bytes and 320 for a type other than 0. The handshake writes the result SSL_get_verify_result (#11143) returns.

  • Engine (include/TlsEngine.hpp, src/TlsEngine.cpp, commit 5a82bb22b6): LibreSslTls::Connection runs an mbedtls TLS 1.2 client or server on a guest socket, looked up through KernelLookupSocketNative_nid_no_patch as libSceSsl does. It reports Done, WantRead, WantWrite, ZeroReturn, Syscall or Ssl, keeps peeked bytes, follows the ssl3_write_bytes loop for fragment size, partial writes and moving buffers, sends SNI without hostname verification (2.5.4 only checks a hostname set on the verify param), records the peer chain shape and verify flags, and classifies failures. CMakeLists.txt links mbedtls and mbedx509 and hides their symbols, as libSceSsl's build does.
  • SSL layer (src/SslIo.cpp): a host-side map from each guest SSL to its engine connection, created at the first handshake from the server flag, the read BIO's descriptor, the verify mode and the SNI name, and released in SSL_free and SSL_clear. No guest layout field is added. After every call it sets rwstate, the BIO retry flags, BIO byte counts, the shutdown bits, warn_alert, the handshake state (so SSLerror function codes match 2.5.4) and guest errno for syscall failures. SSL_get_error follows ssl_lib.c: the error queue first, then rwstate, then ZERO_RETURN only after a received close_notify. SSL_shutdown follows ssl3_shutdown (0 after sending close_notify, 1 once both are seen; 1 without sending anything while the handshake has not finished). A repeated SSL_connect after a finished handshake restarts with SSL_clear on the same socket, as 2.5.4 does.
  • Verify result: no export can add a trusted certificate yet, so X509_verify_cert stops at the first chain error and the result is 18, 19 or 20 depending on the chain shape (single self-signed, chain ending in self-signed, issuer not found). The default SSL_VERIFY_NONE client completes the handshake and records it.
  • Throws instead of guessing, each in docs/dev/debt/libSceLibreSsl.md: an SSL with no BIO, separate read and write BIOs or a descriptor that is not a guest socket; message, info, verify or certificate-verify callbacks, ALPN lists, status requests, an SSL_SESSION, a verification depth, trusted certificates or store lookups; TLS 1.2 disabled by options or version limits; a server with SSL_VERIFY_PEER; a peer fatal alert; any other engine failure (with the mbedtls code); any call after a failed handshake. The engine is TLS 1.2 only, because the repository's mbedtls configuration compiles TLS 1.3 out, and it has no renegotiation. SSL_accept cannot complete a handshake until a certificate can be loaded: it fails the first ClientHello with -1, SSL_ERROR_SSL and reason 193 (no shared cipher).

Tested

The review changes and their test results, including per-entry times and the run combined with #12688, are in https://github.com/boykopovar/AnyPS5/pull/12730#issuecomment-6493190140. The paragraph below describes the first version.

Head fd576439d7 (#12729 8a5dd67984 on main e64c194c43): macOS 27.2 (M4), x86-64 build under Rosetta, with the LibreSSL sources on the macOS integration tree because main alone does not build on macOS: the four guest_libressl_ssl_io_*, three guest_libressl_tls_engine_* and guest_libressl_ssl_lifecycle tests pass, 5 runs each in a loop; the rest of the LibreSSL tests match #12729. Linux not rerun for this update. tools/check_conventions.py --base origin/main passes.

e00c95553b (now 0aa621cf84) changes only WriteBackPressure in tests/TlsEngine.cpp: the moving-buffer retry keeps its buffer and its result drives the rest of the write loop. Old and new test with a pause forced before that retry, macOS as above: the old one fails 3 of 3 with the assertion from the review, the new one passes 5 of 5, and both WantWrite and Done outcomes of the retry were seen passing. Linux not rerun.

Current head 0aa621cf84 is the same two commits rebased onto main 0aca3f0d7b. The only conflicts were the stubs beside SSL_get_ex_data, which main implemented (326e51d8e3): its stub sat next to this PR's SSL_get_error stub in Export.cpp, and both declarations changed in Api.hpp; both are kept, and this PR's own lines are unchanged. On macOS (same setup), 190 of the 194 LibreSSL tests pass, guest_libressl_ex_data and this PR's tests included; guest_libressl_protocol, guest_libressl_protocol_nid, guest_libressl3_ecdsa_sig and guest_libressl3_rsa_getters are not built there, because libcurl.prx does not link on that Mac.

bff386ea9d was the same two commits on main 50f2772c6b, which contains #12729; its Windows check passed, with guest_libressl_tls_engine_transport in 1.81 s. The Windows check of the head before it 6d663c1d82 timed out in guest_libressl_tls_engine_transport after 30 s with no output, where the same commits passed in 1.67 s on 5145f29443. On macOS (same setup) that test passed 40 times in a row and 40 times with 8 copies running at once, and all 186 LibreSSL tests that build there pass; if the timeout comes back on Windows I will look for the blocking call. 6d663c1d82 was the same two commits on #12729's head 44b98337f3, which merges main ec7878b6f9; their content is unchanged. 5145f29443 was the same change on #12729 1bea86bbe7 and main 050cdf95ad, to rerun the Windows check after main's patched_libraries failure (see #12729). The rebase before it, 13cb16cd25 on main 55bfc4aad3: main implemented SSL_check_private_key (#16683) beside this PR's SSL_accept/SSL_connect stubs; both are kept. Two debt changes: the SSL_connect and SSL_accept entry now says mbedtls's default suites replace any cipher list, including one set with SSL_CTX_set_cipher_list (#17813, now in main), and a second copy of the method entry that git's merge left without a conflict is removed. On macOS (same setup), the four guest_libressl_ssl_io_*, three guest_libressl_tls_engine_* and guest_libressl_ssl_lifecycle entries pass; the rest of the LibreSSL tests match #12729.

Arch Linux x86-64, GCC 16.2.1, branch head 648916e2df (main 2960e9a6e7 merged in through #12729): ctest --test-dir build -R libressl 39/39 pass; the new guest_libressl_ssl_io 20/20 and the engine test guest_libressl_tls_engine 10/10 in a loop; ctest -R ^public_headers 65/65. guest_libressl_ssl_io drives a client through the exports against a server engine thread over 127.0.0.1 guest sockets, on a tracking heap that fails on leaks: handshake and verify result 18 for the self-signed test certificate, 64 KiB echoed both ways, SSL_peek then SSL_read returning the same bytes, SSL_pending after a partial read, a non-blocking socket returning -1 with SSL_ERROR_WANT_READ and then succeeding, partial-write mode and max_send_fragment, peer close_notify giving 0 and SSL_ERROR_ZERO_RETURN, an abrupt close giving SSL_ERROR_SYSCALL with errno, SSL_shutdown returning 0 then 1, quiet shutdown, the SNI the server received, and SSL_VERIFY_PEER failing against an untrusted certificate. Seventeen deliberate mutations (wrong chain code, dropped shutdown bit, dropped retry flags or errno, ignored partial write, SSL_get_error ignoring the queue, unreleased connection, missing BIO accounting, SSL_shutdown always 1, SNI not sent, verify mode forced to PEER, SSL_pending always 0, ignored fragment size, among others) each make it fail. tools/check_conventions.py --base origin/main passes. Not tested on a console or with a title.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #12729 (merged)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5063041916 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12730). Originally posted by [AdnanKhan-ak47](https://github.com/AdnanKhan-ak47) on 2026-10-29T05:52:23Z. --- ### What Implements the LibreSSL 2.5.4 TLS connection exports in libSceLibreSsl over an mbedtls engine on guest sockets, on top of #12729 (methods and `SSL_CTX`/`SSL` lifecycle), which is now merged. With #12729 merged, the branch is `main` plus this PR's two commits: 14 files, +4,501/−60 (2,615 of them tests). `c6931c2d5f` squashes the engine (`5a82bb22b6`), the exports on it (`982bff5d57`) and the review fixes; `0aa621cf84` is a test-only fix from [ahmadmuj's review](https://github.com/boykopovar/AnyPS5/pull/12730#discussion_r4505271140). Exports (8): `SSL_connect`, `SSL_accept`, `SSL_read`, `SSL_peek`, `SSL_write`, `SSL_pending`, `SSL_shutdown`, `SSL_get_error`. The TLS method slots for connect, accept, read, peek, write, shutdown and pending now point at the same implementation; the DTLS slots still throw, since `SSL_new` refuses DTLS. `SSL_ctrl` (from #11143) gains case 55, `SSL_CTRL_SET_TLSEXT_HOSTNAME`, following `s3_lib.c`: a guest-heap copy of the name, error 319 for a name over 255 bytes and 320 for a type other than 0. The handshake writes the result `SSL_get_verify_result` (#11143) returns. - **Engine** (`include/TlsEngine.hpp`, `src/TlsEngine.cpp`, commit `5a82bb22b6`): `LibreSslTls::Connection` runs an mbedtls TLS 1.2 client or server on a guest socket, looked up through `KernelLookupSocketNative_nid_no_patch` as libSceSsl does. It reports Done, WantRead, WantWrite, ZeroReturn, Syscall or Ssl, keeps peeked bytes, follows the `ssl3_write_bytes` loop for fragment size, partial writes and moving buffers, sends SNI without hostname verification (2.5.4 only checks a hostname set on the verify param), records the peer chain shape and verify flags, and classifies failures. `CMakeLists.txt` links `mbedtls` and `mbedx509` and hides their symbols, as libSceSsl's build does. - **SSL layer** (`src/SslIo.cpp`): a host-side map from each guest `SSL` to its engine connection, created at the first handshake from the server flag, the read BIO's descriptor, the verify mode and the SNI name, and released in `SSL_free` and `SSL_clear`. No guest layout field is added. After every call it sets `rwstate`, the BIO retry flags, BIO byte counts, the `shutdown` bits, `warn_alert`, the handshake state (so `SSLerror` function codes match 2.5.4) and guest `errno` for syscall failures. `SSL_get_error` follows `ssl_lib.c`: the error queue first, then `rwstate`, then ZERO_RETURN only after a received close_notify. `SSL_shutdown` follows `ssl3_shutdown` (0 after sending close_notify, 1 once both are seen; 1 without sending anything while the handshake has not finished). A repeated `SSL_connect` after a finished handshake restarts with `SSL_clear` on the same socket, as 2.5.4 does. - **Verify result:** no export can add a trusted certificate yet, so `X509_verify_cert` stops at the first chain error and the result is 18, 19 or 20 depending on the chain shape (single self-signed, chain ending in self-signed, issuer not found). The default `SSL_VERIFY_NONE` client completes the handshake and records it. - **Throws instead of guessing**, each in `docs/dev/debt/libSceLibreSsl.md`: an SSL with no BIO, separate read and write BIOs or a descriptor that is not a guest socket; message, info, verify or certificate-verify callbacks, ALPN lists, status requests, an `SSL_SESSION`, a verification depth, trusted certificates or store lookups; TLS 1.2 disabled by options or version limits; a server with `SSL_VERIFY_PEER`; a peer fatal alert; any other engine failure (with the mbedtls code); any call after a failed handshake. The engine is TLS 1.2 only, because the repository's mbedtls configuration compiles TLS 1.3 out, and it has no renegotiation. `SSL_accept` cannot complete a handshake until a certificate can be loaded: it fails the first ClientHello with -1, `SSL_ERROR_SSL` and reason 193 (no shared cipher). ### Tested The review changes and their test results, including per-entry times and the run combined with #12688, are in https://github.com/boykopovar/AnyPS5/pull/12730#issuecomment-6493190140. The paragraph below describes the first version. Head `fd576439d7` (#12729 `8a5dd67984` on `main` `e64c194c43`): macOS 27.2 (M4), x86-64 build under Rosetta, with the LibreSSL sources on the macOS integration tree because `main` alone does not build on macOS: the four `guest_libressl_ssl_io_*`, three `guest_libressl_tls_engine_*` and `guest_libressl_ssl_lifecycle` tests pass, 5 runs each in a loop; the rest of the LibreSSL tests match #12729. Linux not rerun for this update. `tools/check_conventions.py --base origin/main` passes. `e00c95553b` (now `0aa621cf84`) changes only `WriteBackPressure` in `tests/TlsEngine.cpp`: the moving-buffer retry keeps its buffer and its result drives the rest of the write loop. Old and new test with a pause forced before that retry, macOS as above: the old one fails 3 of 3 with the assertion from the review, the new one passes 5 of 5, and both `WantWrite` and `Done` outcomes of the retry were seen passing. Linux not rerun. Current head `0aa621cf84` is the same two commits rebased onto `main` `0aca3f0d7b`. The only conflicts were the stubs beside `SSL_get_ex_data`, which `main` implemented (`326e51d8e3`): its stub sat next to this PR's `SSL_get_error` stub in `Export.cpp`, and both declarations changed in `Api.hpp`; both are kept, and this PR's own lines are unchanged. On macOS (same setup), 190 of the 194 LibreSSL tests pass, `guest_libressl_ex_data` and this PR's tests included; `guest_libressl_protocol`, `guest_libressl_protocol_nid`, `guest_libressl3_ecdsa_sig` and `guest_libressl3_rsa_getters` are not built there, because `libcurl.prx` does not link on that Mac. `bff386ea9d` was the same two commits on `main` `50f2772c6b`, which contains #12729; its Windows check passed, with `guest_libressl_tls_engine_transport` in 1.81 s. The Windows check of the head before it `6d663c1d82` timed out in `guest_libressl_tls_engine_transport` after 30 s with no output, where the same commits passed in 1.67 s on `5145f29443`. On macOS (same setup) that test passed 40 times in a row and 40 times with 8 copies running at once, and all 186 LibreSSL tests that build there pass; if the timeout comes back on Windows I will look for the blocking call. `6d663c1d82` was the same two commits on #12729's head `44b98337f3`, which merges `main` `ec7878b6f9`; their content is unchanged. `5145f29443` was the same change on #12729 `1bea86bbe7` and `main` `050cdf95ad`, to rerun the Windows check after `main`'s `patched_libraries` failure (see #12729). The rebase before it, `13cb16cd25` on `main` `55bfc4aad3`: `main` implemented `SSL_check_private_key` (#16683) beside this PR's `SSL_accept`/`SSL_connect` stubs; both are kept. Two debt changes: the `SSL_connect and SSL_accept` entry now says mbedtls's default suites replace any cipher list, including one set with `SSL_CTX_set_cipher_list` (#17813, now in `main`), and a second copy of the method entry that git's merge left without a conflict is removed. On macOS (same setup), the four `guest_libressl_ssl_io_*`, three `guest_libressl_tls_engine_*` and `guest_libressl_ssl_lifecycle` entries pass; the rest of the LibreSSL tests match #12729. Arch Linux x86-64, GCC 16.2.1, branch head `648916e2df` (`main` `2960e9a6e7` merged in through #12729): `ctest --test-dir build -R libressl` 39/39 pass; the new `guest_libressl_ssl_io` 20/20 and the engine test `guest_libressl_tls_engine` 10/10 in a loop; `ctest -R ^public_headers` 65/65. `guest_libressl_ssl_io` drives a client through the exports against a server engine thread over 127.0.0.1 guest sockets, on a tracking heap that fails on leaks: handshake and verify result 18 for the self-signed test certificate, 64 KiB echoed both ways, `SSL_peek` then `SSL_read` returning the same bytes, `SSL_pending` after a partial read, a non-blocking socket returning -1 with `SSL_ERROR_WANT_READ` and then succeeding, partial-write mode and `max_send_fragment`, peer close_notify giving 0 and `SSL_ERROR_ZERO_RETURN`, an abrupt close giving `SSL_ERROR_SYSCALL` with errno, `SSL_shutdown` returning 0 then 1, quiet shutdown, the SNI the server received, and `SSL_VERIFY_PEER` failing against an untrusted certificate. Seventeen deliberate mutations (wrong chain code, dropped shutdown bit, dropped retry flags or errno, ignored partial write, `SSL_get_error` ignoring the queue, unreleased connection, missing BIO accounting, `SSL_shutdown` always 1, SNI not sent, verify mode forced to PEER, `SSL_pending` always 0, ignored fragment size, among others) each make it fail. `tools/check_conventions.py --base origin/main` passes. Not tested on a console or with a title. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: #12729 (merged) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
CnRJay commented 2026-11-01 19:54:02 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T19:54:02Z.

Review: COMMENTED


The diff is cumulative with #12729 (+8.7k lines), so the Files tab does not show which part is this PR. For a handshake engine that is difficult to review; please state the commits that are new.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729937079 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12730#pullrequestreview-5729937079). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-11-01T19:54:02Z. **Review:** COMMENTED --- The diff is cumulative with #12729 (+8.7k lines), so the Files tab does not show which part is this PR. For a handshake engine that is difficult to review; please state the commits that are new.
ahmadmuj commented 2026-11-05 17:21:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ahmadmuj on 2026-11-05T17:21:21Z.

Review: COMMENTED


Checked head 740b4ea1e4387230e08a459339cf53c5ea53662f; PR base 1e24993fa3a7da25e8fc27152af654687ba64552.

On Linux/WSL2, the exact-head build passes. ctest -R libressl fails twice, with 66/67 passing; the transport entry passes alone. The inline finding explains its intermittent failure.

A separate guest-export probe against Python's OpenSSL 3.0.13 peer passes TLS 1.2, verify result 18, exact 64 KiB echo, peer close_notify/ZERO_RETURN, and client shutdown 0 then 1.

Current main dab11d4569e99119a8561457dbb6891c361136ee conflicts in CMakeLists.txt, Api.hpp and the debt file, so integration remains untested. Scope is this author's TLS I/O; this does not approve the embedded SSL context/fields work.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5789076876 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12730#pullrequestreview-5789076876). Originally posted by [ahmadmuj](https://github.com/ahmadmuj) on 2026-11-05T17:21:21Z. **Review:** COMMENTED --- Checked head `740b4ea1e4387230e08a459339cf53c5ea53662f`; PR base `1e24993fa3a7da25e8fc27152af654687ba64552`. On Linux/WSL2, the exact-head build passes. `ctest -R libressl` fails twice, with 66/67 passing; the transport entry passes alone. The inline finding explains its intermittent failure. A separate guest-export probe against Python's OpenSSL 3.0.13 peer passes TLS 1.2, verify result 18, exact 64 KiB echo, peer close_notify/ZERO_RETURN, and client shutdown 0 then 1. Current main `dab11d4569e99119a8561457dbb6891c361136ee` conflicts in CMakeLists.txt, Api.hpp and the debt file, so integration remains untested. Scope is this author's TLS I/O; this does not approve the embedded SSL context/fields work.
MarcZX10 commented 2026-11-19 06:01:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T06:01:05Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the review found no verified blocking defects.

What I ran

Reviewed head bff386ea9d0c1edfa54d26c3100417544c330a95 through repo_read.py. No tests or build checks were run. The description’s test results are author-reported.

Results

Check Result Note
Code review passed Changed implementation and tests inspected
Build and tests not run Reported results were not rerun

Findings

Blocking

None.

Non-blocking

None.

Not verified

No build, test, convention check, console run, or title run was performed here. All 14 changed files listed in the manifest were included and readable; the full text of each was not read. The review covered the TLS engine, SSL I/O paths, API wiring, build entries, and relevant test cases. Remaining changed-file details and behavior outside those targeted ranges were not verified.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5970063705 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12730#pullrequestreview-5970063705). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T06:01:05Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the review found no verified blocking defects. ## What I ran Reviewed head `bff386ea9d0c1edfa54d26c3100417544c330a95` through `repo_read.py`. No tests or build checks were run. The description’s test results are author-reported. ## Results | Check | Result | Note | |---|---|---| | Code review | passed | Changed implementation and tests inspected | | Build and tests | not run | Reported results were not rerun | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified No build, test, convention check, console run, or title run was performed here. All 14 changed files listed in the manifest were included and readable; the full text of each was not read. The review covered the TLS engine, SSL I/O paths, API wiring, build entries, and relevant test cases. Remaining changed-file details and behavior outside those targeted ranges were not verified. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-20 05:51:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T05:51:37Z.

Review: COMMENTED


Reviewed — no blocking findings

The diff and selected implementation paths at head 0aa621cf8464f0f2af53d13b59266b0c279ed309 show no verified defect; tests were not run during this review.

What I ran

No commands were run. I read the prepared description, commits, manifest, diff, and selected changed source files using repo_read.py.

Results

Check Result Note
Source review passed Selected implementation paths inspected
Tests not run Author-reported results are in the description

Findings

Blocking

None identified in the inspected code.

Non-blocking

None.

Not verified

The review did not inspect every changed file or the complete implementations of SslIo.cpp, TlsEngine.cpp, and the test files. No tests or builds were run. These files were listed as changed but not read: core/libs/prx/libSceLibreSsl/CMakeLists.txt, core/libs/prx/libSceLibreSsl/Export.cpp, core/libs/prx/libSceLibreSsl/include/Api.hpp, core/libs/prx/libSceLibreSsl/include/SslInternal.hpp, core/libs/prx/libSceLibreSsl/include/TlsEngine.hpp, core/libs/prx/libSceLibreSsl/src/Ssl.cpp, core/libs/prx/libSceLibreSsl/src/SslIo.cpp, core/libs/prx/libSceLibreSsl/src/SslLifecycle.cpp, core/libs/prx/libSceLibreSsl/src/SslMethod.cpp, core/libs/prx/libSceLibreSsl/src/TlsEngine.cpp, core/libs/prx/libSceLibreSsl/tests/FakeSocket.hpp, core/libs/prx/libSceLibreSsl/tests/TlsEngine.cpp, core/libs/tests/GuestLibreSslSslIo.cpp, and docs/dev/debt/libSceLibreSsl.md. No files were excluded by the manifest's listing.

To get this to a good state

Nothing is required. Optional: complete the implementation and test review before relying on this review as a merge assessment.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5988149952 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12730#pullrequestreview-5988149952). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T05:51:37Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The diff and selected implementation paths at head `0aa621cf8464f0f2af53d13b59266b0c279ed309` show no verified defect; tests were not run during this review. ## What I ran No commands were run. I read the prepared description, commits, manifest, diff, and selected changed source files using `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Selected implementation paths inspected | | Tests | not run | Author-reported results are in the description | ## Findings ### Blocking None identified in the inspected code. ### Non-blocking None. ## Not verified The review did not inspect every changed file or the complete implementations of `SslIo.cpp`, `TlsEngine.cpp`, and the test files. No tests or builds were run. These files were listed as changed but not read: `core/libs/prx/libSceLibreSsl/CMakeLists.txt`, `core/libs/prx/libSceLibreSsl/Export.cpp`, `core/libs/prx/libSceLibreSsl/include/Api.hpp`, `core/libs/prx/libSceLibreSsl/include/SslInternal.hpp`, `core/libs/prx/libSceLibreSsl/include/TlsEngine.hpp`, `core/libs/prx/libSceLibreSsl/src/Ssl.cpp`, `core/libs/prx/libSceLibreSsl/src/SslIo.cpp`, `core/libs/prx/libSceLibreSsl/src/SslLifecycle.cpp`, `core/libs/prx/libSceLibreSsl/src/SslMethod.cpp`, `core/libs/prx/libSceLibreSsl/src/TlsEngine.cpp`, `core/libs/prx/libSceLibreSsl/tests/FakeSocket.hpp`, `core/libs/prx/libSceLibreSsl/tests/TlsEngine.cpp`, `core/libs/tests/GuestLibreSslSslIo.cpp`, and `docs/dev/debt/libSceLibreSsl.md`. No files were excluded by the manifest's listing. ## To get this to a good state Nothing is required. Optional: complete the implementation and test review before relying on this review as a merge assessment.
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!12730
No description provided.