nsd/ssl: Fix Resolve/ResolveEx and stub GetConnectionCount (#2208)
This commit is contained in:
parent
6cb22c9d38
commit
9575a7638a
4 changed files with 40 additions and 5 deletions
|
@ -6,6 +6,8 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService
|
|||
{
|
||||
class ISslContext : IpcService
|
||||
{
|
||||
private uint _connectionCount;
|
||||
|
||||
private ulong _serverCertificateId;
|
||||
private ulong _clientCertificateId;
|
||||
|
||||
|
@ -17,6 +19,19 @@ namespace Ryujinx.HLE.HOS.Services.Ssl.SslService
|
|||
{
|
||||
MakeObject(context, new ISslConnection());
|
||||
|
||||
_connectionCount++;
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
|
||||
[CommandHipc(3)]
|
||||
// GetConnectionCount() -> u32 count
|
||||
public ResultCode GetConnectionCount(ServiceCtx context)
|
||||
{
|
||||
context.ResponseData.Write(_connectionCount);
|
||||
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceSsl, new { _connectionCount });
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue