feat(libSceLibreSsl): implement SSL library init #11662
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/11662"
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 LordVersA on 2026-10-27T01:36:04Z.
What
Implement
SSL_library_initwith LibreSSL-compatible behavior: every call returns 1. Add repeat-call coverage and document that console behavior remains unverified.Tested
python3 tools/check_conventions.py --base origin/mainc++ -std=c++20 -fsyntax-only -Icore/libs core/libs/tests/GuestLibreSslVersion.cpptools/progress.py: libSceLibreSsl improved from 77 implemented exports to 78Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T01:37:03Z.
Review: CHANGES_REQUESTED
The implementation itself is a reasonable LibreSSL-compatible no-op:
SSL_library_initreturns 1 on every call, and the regression test checks repeat calls. I verified the API declaration, test registration, and local conventions/whitespace checks; I did not run the linked test binary locally because no built target is available in the preserved worktrees.The hosted conventions check fails because the PR template says
AI-assisted: ye; the required answer is exactlyyesorno. Please correct that field and rerun the check. The local non-isolated convention command passed, but the CI command usespython3 -I, which detects the malformed template answer.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T01:40:46Z.
Review: APPROVED
The template answer is now corrected, and the latest hosted conventions, intake, and labels checks pass. I rechecked the one-line implementation, API declaration, repeated-call test registration, whitespace check, and compiled the changed test translation unit with
-fsyntax-only; it passes. LibreSSL documentsSSL_library_initas always returning 1: https://man.archlinux.org/man/extra/libressl/libressl-SSL_library_init.3.enI approve this scoped compatibility implementation. I did not run the linked guest test binary or claim console behavior; the PR reports the full build was unavailable because VulkanHeaders is missing, and current hosted checks for this small change do not include the product test target.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T01:48:58Z.
Review: CHANGES_REQUESTED
Follow-up after the collaborator noted the stale debt count. I independently checked the exact PR head
a60c925a0a21a3559e27c3e3cec0512c23d5f049:Export.cppcontains 318NotImplemented_nid_no_patchmarkers, whiledocs/dev/debt/libSceLibreSsl.mdstill says 319 pending exports. Please update the count (or recount against the then-current base if another LibreSSL export lands first). TheSSL_library_initimplementation itself remains consistent with the documented LibreSSL return value; this change request is for keeping the debt inventory accurate.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T01:55:05Z.
Review: APPROVED
Re-reviewed the updated exact head
7c585dfba2a69f53b11ee9706e20cbc076682fa5. The debt inventory now says 318 pending exports, matching the 318 remainingNotImplemented_nid_no_patchmarkers; the newSSL_library_initentry documents the always-1 compatibility behavior and its limitation. The earlier requested count correction is resolved. The implementation and repeated-call regression remain as reviewed. Hosted conventions and labels pass. I did not run the linked guest test binary or claim console validation.