Browse Source
Merge pull request #1354 from ogniK5377/ssl-version
Corrected SSL::SetInterfaceVersion
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
src/core/hle/service/ssl/ssl.cpp
|
|
|
@ -103,6 +103,7 @@ public: |
|
|
|
} |
|
|
|
|
|
|
|
private: |
|
|
|
u32 ssl_version{}; |
|
|
|
void CreateContext(Kernel::HLERequestContext& ctx) { |
|
|
|
LOG_WARNING(Service_SSL, "(STUBBED) called"); |
|
|
|
|
|
|
|
@ -112,10 +113,9 @@ private: |
|
|
|
} |
|
|
|
|
|
|
|
void SetInterfaceVersion(Kernel::HLERequestContext& ctx) { |
|
|
|
LOG_WARNING(Service_SSL, "(STUBBED) called"); |
|
|
|
LOG_DEBUG(Service_SSL, "called"); |
|
|
|
IPC::RequestParser rp{ctx}; |
|
|
|
u32 unk1 = rp.Pop<u32>(); // Probably minor/major?
|
|
|
|
u32 unk2 = rp.Pop<u32>(); // TODO(ogniK): Figure out what this does
|
|
|
|
ssl_version = rp.Pop<u32>(); |
|
|
|
|
|
|
|
IPC::ResponseBuilder rb{ctx, 2}; |
|
|
|
rb.Push(RESULT_SUCCESS); |
|
|
|
|