mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-04 00:36:23 +00:00
Ensure we can't enter the app grid without having a pinned cert
This commit is contained in:
parent
85820bf812
commit
d40a29df71
@ -29,10 +29,12 @@
|
|||||||
self.mac = host.mac;
|
self.mac = host.mac;
|
||||||
self.name = host.name;
|
self.name = host.name;
|
||||||
self.uuid = host.uuid;
|
self.uuid = host.uuid;
|
||||||
self.pairState = [host.pairState intValue];
|
|
||||||
self.serverCodecModeSupport = host.serverCodecModeSupport;
|
self.serverCodecModeSupport = host.serverCodecModeSupport;
|
||||||
self.serverCert = host.serverCert;
|
self.serverCert = host.serverCert;
|
||||||
|
|
||||||
|
// Ensure we don't use a stale cached pair state if we haven't pinned the cert yet
|
||||||
|
self.pairState = host.serverCert ? [host.pairState intValue] : PairStateUnpaired;
|
||||||
|
|
||||||
NSMutableSet *appList = [[NSMutableSet alloc] init];
|
NSMutableSet *appList = [[NSMutableSet alloc] init];
|
||||||
|
|
||||||
for (App* app in host.appList) {
|
for (App* app in host.appList) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user