summaryrefslogtreecommitdiffstats
path: root/src/tss.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-10-02 17:19:30 +0200
committerGravatar Nikias Bassen2013-10-02 17:19:30 +0200
commitd37b4c3740acfbfda28b334498d01fd56be0ff38 (patch)
tree4e683156cddd6eece04fe56bd78008e0ea64619a /src/tss.h
parentce2363cbb3361b7e34a0150a92d806573dfef9be (diff)
downloadidevicerestore-d37b4c3740acfbfda28b334498d01fd56be0ff38.tar.gz
idevicerestore-d37b4c3740acfbfda28b334498d01fd56be0ff38.tar.bz2
tss: make sure buffers are of type unsigned char*
Diffstat (limited to 'src/tss.h')
-rw-r--r--src/tss.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tss.h b/src/tss.h
index 77958d4..b5b322a 100644
--- a/src/tss.h
+++ b/src/tss.h
@@ -32,10 +32,10 @@ extern "C" {
plist_t tss_send_request(plist_t request, const char* server_url_string);
plist_t tss_create_request(plist_t build_identity, uint64_t ecid, unsigned char* nonce, int nonce_size);
plist_t tss_create_baseband_request(plist_t build_identity, uint64_t ecid, uint64_t bb_cert_id, unsigned char* bb_snum, uint64_t bb_snum_size, unsigned char* bb_nonce, int bb_nonce_size);
-int tss_get_ticket(plist_t tss, unsigned char** ticket, uint32_t* tlen);
+int tss_get_ticket(plist_t tss, unsigned char** ticket, unsigned int* tlen);
int tss_get_entry_path(plist_t tss, const char* entry, char** path);
-int tss_get_blob_by_path(plist_t tss, const char* path, char** blob);
-int tss_get_blob_by_name(plist_t tss, const char* entry, char** blob);
+int tss_get_blob_by_path(plist_t tss, const char* path, unsigned char** blob);
+int tss_get_blob_by_name(plist_t tss, const char* entry, unsigned char** blob);
#ifdef __cplusplus