feat(libSceSsl): add missing verification callback export

This commit is contained in:
MarcZX100 2026-10-13 07:21:57 +00:00 committed by Adrià Franch
parent 075169f7b3
commit 5d00bd7bbf
3 changed files with 8 additions and 1 deletions

View File

@ -194,6 +194,11 @@ int APS5_VABI sceSslEnableVerifyOption(void) {
return 0; return 0;
} }
int APS5_VABI sceSslSetVerifyCallback(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSslConnect(void) { int APS5_VABI sceSslConnect(void) {
NotImplemented_nid_no_patch(__func__); NotImplemented_nid_no_patch(__func__);
return 0; return 0;

View File

@ -12,6 +12,7 @@ int APS5_VABI sceSslFreeCaCerts(int, void*);
int APS5_VABI sceSslGetCaList(int, void*); int APS5_VABI sceSslGetCaList(int, void*);
int APS5_VABI sceSslFreeCaList(int, void*); int APS5_VABI sceSslFreeCaList(int, void*);
int APS5_VABI sceSslUnloadCert(int); int APS5_VABI sceSslUnloadCert(int);
int APS5_VABI sceSslSetVerifyCallback(void);
} }
struct SslMemoryPoolStats { struct SslMemoryPoolStats {
@ -50,6 +51,7 @@ int main() {
constexpr int notFound = static_cast<int>(0x8095F004); constexpr int notFound = static_cast<int>(0x8095F004);
constexpr int invalidArg = static_cast<int>(0x8095177A); constexpr int invalidArg = static_cast<int>(0x8095177A);
int marker = 0; int marker = 0;
Require(Throws([] { sceSslSetVerifyCallback(); }));
const int context = sceSslInit_nid_postfix(0x10000); const int context = sceSslInit_nid_postfix(0x10000);
Require(context > 0); Require(context > 0);

View File

@ -9,4 +9,4 @@
### Functional ### Functional
- PPSA07411 imports declared without parameters, signatures unknown, added without an implementation because the title fails to load without them: [sceSslCreateConnection, sceSslDeleteConnection, sceSslEnableVerifyOption, sceSslConnect, sceSslRead, sceSslWrite](../../../core/libs/prx/libSceSsl/Export.cpp) (libSceSsl), [four sce::Json::Value members (setElementAccessFailureHandler, setSpecialFloatHandler, setTypeMismatchHandler, operator bool)](../../../core/libs/prx/libSceJson2/Export.cpp) (libSceJson2), [sceConvertKeycodeGetCharacter](../../../core/libs/prx/libSceConvertKeycode/Export.cpp) (libSceConvertKeycode) and [sceNpSessionSignalingGetGroupFromSessionId](../../../core/libs/prx/libSceNpSessionSignaling/Export.cpp) (libSceNpSessionSignaling) - PPSA07411 imports declared without parameters, signatures unknown, added without an implementation because the title fails to load without them: [sceSslSetVerifyCallback](../../../core/libs/prx/libSceSsl/Export.cpp) (libSceSsl), [four sce::Json::Value members (setElementAccessFailureHandler, setSpecialFloatHandler, setTypeMismatchHandler, operator bool)](../../../core/libs/prx/libSceJson2/Export.cpp) (libSceJson2), [sceConvertKeycodeGetCharacter](../../../core/libs/prx/libSceConvertKeycode/Export.cpp) (libSceConvertKeycode) and [sceNpSessionSignalingGetGroupFromSessionId](../../../core/libs/prx/libSceNpSessionSignaling/Export.cpp) (libSceNpSessionSignaling)