Skip to content

Commit

Permalink
Remove broken ecid check for KIS mode in iokit_open_with_ecid
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Mar 9, 2024
1 parent 33a4c11 commit 0306952
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/libirecovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 0306952

Please sign in to comment.