Merge pull request #1354 from ogniK5377/ssl-version

Corrected SSL::SetInterfaceVersion
This commit is contained in:
bunnei 2018-09-23 22:32:14 -04:00 committed by GitHub
commit f2c1fd08f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,6 +103,7 @@ public:
} }
private: private:
u32 ssl_version{};
void CreateContext(Kernel::HLERequestContext& ctx) { void CreateContext(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_SSL, "(STUBBED) called"); LOG_WARNING(Service_SSL, "(STUBBED) called");
@ -112,10 +113,9 @@ private:
} }
void SetInterfaceVersion(Kernel::HLERequestContext& ctx) { void SetInterfaceVersion(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_SSL, "(STUBBED) called"); LOG_DEBUG(Service_SSL, "called");
IPC::RequestParser rp{ctx}; IPC::RequestParser rp{ctx};
u32 unk1 = rp.Pop<u32>(); // Probably minor/major? ssl_version = rp.Pop<u32>();
u32 unk2 = rp.Pop<u32>(); // TODO(ogniK): Figure out what this does
IPC::ResponseBuilder rb{ctx, 2}; IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);