mirror of
https://github.com/tihmstar/futurerestore.git
synced 2026-11-13 22:26:47 +00:00
ignore SHSH personalization issues if we're on iOS 5 or newer
This commit is contained in:
parent
104e352bb7
commit
184b44e82e
|
|
@ -856,7 +856,13 @@ void futurerestore::doRestore(const char *ipswpath){
|
|||
signedComponent = *unsigned_component;
|
||||
}else{
|
||||
retassure(_this->_client->tss, "We're asked to personalize '%s', but we don't have a ticket!!",name);
|
||||
signedComponent = img3tool::signIMG3WithSHSH(unsigned_component->data(), unsigned_component->size(), _this->_client->tss);
|
||||
try {
|
||||
signedComponent = img3tool::signIMG3WithSHSH(unsigned_component->data(), unsigned_component->size(), _this->_client->tss);
|
||||
} catch (tihmstar::exception &e) {
|
||||
warning("Failed to personalize component '%s'",name);
|
||||
if (atoi(_this->_client->version) < 5) throw;
|
||||
signedComponent = *unsigned_component;
|
||||
}
|
||||
}
|
||||
if (dataSize) *dataSize = (unsigned int)signedComponent.size();
|
||||
if (data) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue