summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-03-09 10:52:57 +0100
committerGravatar Nikias Bassen2024-03-09 10:52:57 +0100
commit03069529736d828ad73be2d0c67a6d6ac074775a (patch)
tree9912df9ff2b1f9e914de7f094c9a76f386814657 /src
parent33a4c112a4aa4c25bde15bba365dda8b7e2544d4 (diff)
downloadlibirecovery-03069529736d828ad73be2d0c67a6d6ac074775a.tar.gz
libirecovery-03069529736d828ad73be2d0c67a6d6ac074775a.tar.bz2
Remove broken ecid check for KIS mode in iokit_open_with_ecid
Diffstat (limited to 'src')
-rw-r--r--src/libirecovery.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index e7105de..29bffd0 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -1612,7 +1612,6 @@ static irecv_error_t iokit_open_with_ecid(irecv_client_t* pclient, uint64_t ecid
pids = wtf_pids;
ecid = 0;
}
-
if (ecid > 0) {
ecidString = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%llX"), ecid);
if (ecidString == NULL) {
@@ -1644,12 +1643,6 @@ static irecv_error_t iokit_open_with_ecid(irecv_client_t* pclient, uint64_t ecid
continue;
}
- if ((*pclient)->device_info.ecid != ecid) {
- irecv_close(*pclient);
- *pclient = NULL;
- continue;
- }
-
if (ecidString)
CFRelease(ecidString);