| Age | Commit message (Collapse) | Author | Files | Lines | 
 | 
For some reason, asking lockdownd for 'InternationalMobileSubscriberIdentity'
sometimes returns "MissingValue", even though ideviceinfo (without passing a
key) shows it.
This commit changes the code to get the whole lockdownd 'NULL domain' info
(equivalent to ideviceinfo without specifying any key) and parse the required
info from there.
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
its placeholder
 | 
 | 
 | 
 | 
 | 
 | 
activation server
 | 
 | 
 | 
 | 
trying to activate
 | 
 | 
 | 
 | 
activation command
 | 
 | 
retrieve them
 | 
 | 
received from the activation server
 | 
 | 
 | 
 | 
This also fixes a potential segfault when xmlplist is NULL and adds
check for failing to allocate memory.
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
never devices
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
Up until now libcurl was initialized/deinitialized every time a request
was sent. However curl_global_cleanup() also affects other libraries'
code so that e.g. OpenSSL-related functions could fail.
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 |