mirror of
https://github.com/blacktop/ipsw.git
synced 2026-05-08 12:22:26 +00:00
e18f1031f8
IsImg4 and IsIm4p returned errors when ASN.1 parsing failed, but parse failure just means the file isn't that format. This broke callers like `kernel kmutil inspect -x` on x86_64 Macs where the kernel collection is a Mach-O .kc file, not IMG4. Return (false, nil) for parse failures; only error on I/O failure. Closes #1081