Skip to content

feat(libSceSsl): implement certificate query stubs - #4089

Closed
jagrat04 wants to merge 1 commit into
boykopovar:mainfrom
jagrat04:feat/libSceSsl
Closed

jagrat04 wants to merge 1 commit into
boykopovar:mainfrom
jagrat04:feat/libSceSsl

Conversation

@jagrat04

Copy link
Copy Markdown
Contributor

What

Implement certificate reader and context stubs in libSceSsl:

  • sceSslFreeSslCertName: returns success (0).
  • sceSslGetIssuerName: returns 0 (null name).
  • sceSslGetNameEntryCount: returns 0 (no entries).
  • sceSslGetNameEntryInfo: returns ERROR_NOT_FOUND (0x8095F004).
  • sceSslGetPem: returns ERROR_NOT_FOUND (0x8095F004).
  • sceSslGetSubjectName: returns 0 (null name).

Added test coverage for all 6 functions in core/libs/tests/GuestSsl.cpp and documented their silent stub behavior under Silent stubs in docs/dev/TechnicalDebt.md.

Tested

  • Windows 11, MinGW-w64 GCC 15.2.0.
  • python tools/check_conventions.py passed with 0 violations.

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 in TechnicalDebt
  • 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: none
  • AI-assisted: yes

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
#4302 docs/dev/TechnicalDebt.md L49
#4326 docs/dev/TechnicalDebt.md L49

@github-actions

Copy link
Copy Markdown

Progress report (325e0a8 → 6b2fb17)

📈 System libraries: 86.65% (+0.18%, +6 implemented functions)

✅ 6 implemented
Library Name
libSceSsl sceSslFreeSslCertName
libSceSsl sceSslGetIssuerName
libSceSsl sceSslGetNameEntryCount
libSceSsl sceSslGetNameEntryInfo
libSceSsl sceSslGetPem
libSceSsl sceSslGetSubjectName
⚪ 6 behaviourally empty (constant return or throw)
Library Name
libSceSsl sceSslFreeSslCertName
libSceSsl sceSslGetIssuerName
libSceSsl sceSslGetNameEntryCount
libSceSsl sceSslGetNameEntryInfo
libSceSsl sceSslGetPem
libSceSsl sceSslGetSubjectName

@oneandonlydean

Copy link
Copy Markdown
Collaborator

Closing: no title calls these six on main, and with the arguments unknown (all are declared (void)) the constant returns are guesses, so only the progress figure changes. Please reopen with the title ID and the log line where it stops at one of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants