summaryrefslogtreecommitdiffstats
path: root/src/activation.c
AgeCommit message (Collapse)AuthorFilesLines
2021-09-20Check availability of constructor attribute and use it on Windows in favor ↵Gravatar Nikias Bassen1-17/+23
of DllMain
2020-06-08Remove trailing whitespace errors from all filesGravatar Martin Szulecki1-2/+2
2019-01-27Updated copyright headersGravatar Nikias Bassen1-1/+1
2019-01-27activation: Make sure to get IMSI and ICCID from lockdowndGravatar Nikias Bassen1-18/+27
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.
2019-01-27win32: Make thread_once() static to silence compiler warningGravatar Nikias Bassen1-1/+1
2019-01-27activation: Fix parsing of description from buddyml responseGravatar Nikias Bassen1-1/+8
2019-01-27activation: Add API calls to query if an input field is secure and to get ↵Gravatar Nikias Bassen1-3/+45
its placeholder
2018-05-17activation: Set CURLOPT_FOLLOWLOCATION to handle 302 redirects from Apples ↵Gravatar Nikias Bassen1-0/+1
activation server
2017-12-07activation: Store the response headers and provide helper function to ↵Gravatar Nikias Bassen1-8/+46
retrieve them
2017-12-07activation: Return activation record as PLIST_DATA to keep it exactly as ↵Gravatar Nikias Bassen1-1/+1
received from the activation server
2017-07-14activation: Simplify plist_strip_xml() by removing some unnecessary operationsGravatar BALATON Zoltan1-5/+2
2017-07-14activation: Fix wrong argument check of plist_strip_xml()Gravatar BALATON Zoltan1-5/+6
This also fixes a potential segfault when xmlplist is NULL and adds check for failing to allocate memory.
2017-07-13activation: Remove unreachable goto after returnGravatar BALATON Zoltan1-1/+0
2017-07-13activation: Simplify very long conditional expressionsGravatar BALATON Zoltan1-11/+17
2017-07-13activation: Improve code readability by removing unnecessary conditionalsGravatar BALATON Zoltan1-51/+30
2017-07-10activation: Also print HTTP body data when communication debugging is requestedGravatar Nikias Bassen1-4/+29
2017-07-10activation: Close connection after completing requestGravatar Nikias Bassen1-0/+1
2017-07-04activation: Add support for drmHandshake requestsGravatar Nikias Bassen1-63/+89
2017-07-04activation: Add sanity checks for input parameters of APIGravatar Nikias Bassen1-15/+66
2017-07-04activation: Make sure response content is 0-terminatedGravatar Nikias Bassen1-1/+2
2017-07-04Make sure to only globally init/deinit libcurl upon library load/unloadGravatar Nikias Bassen1-4/+73
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.
2016-07-01activation: Fix logical not vs. value comparison, silencing compiler warningGravatar Nikias Bassen1-2/+2
2014-11-30Prevent output of a few error messages that are actually not criticalGravatar Martin Szulecki1-34/+59
2014-10-03Avoid exporting non-public symbolsGravatar Martin Szulecki1-26/+36
2014-06-30Initial commit for version 0.9.00.9.0Gravatar Martin Szulecki1-0/+1076