diff options
author | Martin Szulecki | 2015-01-30 17:13:58 +0100 |
---|---|---|
committer | Martin Szulecki | 2015-01-30 17:13:58 +0100 |
commit | 46f8532a1b55edbb3367dc7524701ee23bc6175c (patch) | |
tree | 374784862ee3b5a9e38e11ebc830dff605e80f18 /src | |
parent | 8f01a6ee7f4a0da815c96882a67cc3e83590b3e6 (diff) | |
download | idevicerestore-46f8532a1b55edbb3367dc7524701ee23bc6175c.tar.gz idevicerestore-46f8532a1b55edbb3367dc7524701ee23bc6175c.tar.bz2 |
Fix a bunch of trailing whitespace errorsfixtrailingwhitespaces
Diffstat (limited to 'src')
-rw-r--r-- | src/common.c | 2 | ||||
-rw-r--r-- | src/download.h | 6 | ||||
-rw-r--r-- | src/idevicerestore.c | 8 | ||||
-rw-r--r-- | src/img3.c | 2 | ||||
-rw-r--r-- | src/img4.c | 2 | ||||
-rw-r--r-- | src/limera1n.c | 4 | ||||
-rw-r--r-- | src/limera1n.h | 2 | ||||
-rw-r--r-- | src/limera1n_payload.h | 138 | ||||
-rw-r--r-- | src/locking.c | 1 | ||||
-rw-r--r-- | src/locking.h | 2 | ||||
-rw-r--r-- | src/normal.c | 2 | ||||
-rw-r--r-- | src/recovery.c | 4 | ||||
-rw-r--r-- | src/restore.c | 9 | ||||
-rw-r--r-- | src/tss.c | 2 |
14 files changed, 91 insertions, 93 deletions
diff --git a/src/common.c b/src/common.c index 6451e07..ef68338 100644 --- a/src/common.c +++ b/src/common.c @@ -253,7 +253,7 @@ int mkdir_with_parents(const char *dir, int mode) if (parentdir && (strcmp(parentdir, ".") != 0) && (strcmp(parentdir, dir) != 0)) { res = mkdir_with_parents(parentdir, mode); } else { - res = -1; + res = -1; } free(parent); if (res == 0) { diff --git a/src/download.h b/src/download.h index 1c60e4e..1edde5b 100644 --- a/src/download.h +++ b/src/download.h @@ -9,15 +9,15 @@ * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef IDEVICERESTORE_DOWNLOAD_H #define IDEVICERESTORE_DOWNLOAD_H diff --git a/src/idevicerestore.c b/src/idevicerestore.c index ed984d9..f0d4e6a 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -207,7 +207,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) error("ERROR: Could not open device in WTF mode\n"); return -1; } - if ((dfu_get_cpid(client, &cpid) < 0) || (cpid == 0)) { + if ((dfu_get_cpid(client, &cpid) < 0) || (cpid == 0)) { error("ERROR: Could not get CPID for WTF mode device\n"); dfu_client_free(client); return -1; @@ -740,7 +740,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) remove(tmpf); rename(filesystem, tmpf); free(filesystem); - filesystem = strdup(tmpf); + filesystem = strdup(tmpf); } } @@ -812,7 +812,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) return -2; } recovery_client_free(client); - + /* this must be long enough to allow the device to run the iBEC */ /* FIXME: Probably better to detect if the device is back then */ sleep(7); @@ -1519,7 +1519,7 @@ int get_tss_response(struct idevicerestore_client_t* client, plist_t build_ident if (node) { plist_dict_set_item(parameters, "BbSNUM", plist_copy(node)); } - + /* add baseband parameters */ tss_request_add_baseband_tags(request, parameters, NULL); } @@ -413,7 +413,7 @@ int img3_stitch_component(const char* component_name, const unsigned char* compo } info("Personalizing IMG3 component %s...\n", component_name); - + /* parse current component as img3 */ img3 = img3_parse_file(component_data, component_size); if (img3 == NULL) { @@ -76,7 +76,7 @@ static unsigned char* asn1_create_element_header(unsigned char type, unsigned in *data_size = off; return *data; -} +} int img4_stitch_component(const char* component_name, const unsigned char* component_data, unsigned int component_size, const unsigned char* blob, unsigned int blob_size, unsigned char** img4_data, unsigned int *img4_size) { diff --git a/src/limera1n.c b/src/limera1n.c index a716f24..ebcf459 100644 --- a/src/limera1n.c +++ b/src/limera1n.c @@ -1,7 +1,7 @@ /* * limera1n.c * Helper code for limera1n exploit based on discovery by geohot - * + * * Copyright (c) 2012-2013 Nikias Bassen. All Rights Reserved. * Copyright (c) 2012 Martin Szulecki. All Rights Reserved. * Copyright (C) 2010 Chronic-Dev Team @@ -77,7 +77,7 @@ int limera1n_exploit(struct irecv_device *device, irecv_client_t *pclient) } else if (device->chip_id == ipod3g->chip_id) { max_size = 0x24000; stack_address = 0x84033F98; - shellcode_address = 0x84023001; + shellcode_address = 0x84023001; } else { error("Unsupported ChipID 0x%04x. Can't exploit with limera1n.\n", device->chip_id); return -1; diff --git a/src/limera1n.h b/src/limera1n.h index 2c92001..592d8d8 100644 --- a/src/limera1n.h +++ b/src/limera1n.h @@ -1,7 +1,7 @@ /* * limera1n.h * Helper code for limera1n exploit based on discovery by geohot - * + * * Copyright (c) 2012-2013 Nikias Bassen. All Rights Reserved. * * This library is free software; you can redistribute it and/or diff --git a/src/limera1n_payload.h b/src/limera1n_payload.h index cc6f570..775d96a 100644 --- a/src/limera1n_payload.h +++ b/src/limera1n_payload.h @@ -1,7 +1,7 @@ /* * limera1n.h * Payload for limera1n exploit - * + * * Copyright (c) 2012 Nikias Bassen. All Rights Reserved. * * This library is free software; you can redistribute it and/or @@ -21,74 +21,74 @@ unsigned char limera1n_payload[] = { 0x7f, 0x46, 0x07, 0xe0, 0xc0, 0x46, 0xc0, 0x46, - 0xc0, 0x46, 0xc0, 0x46, 0xc0, 0x46, 0xc0, 0x46, - 0xc0, 0x46, 0xc0, 0x46, 0x61, 0x48, 0x02, 0x68, - 0x61, 0x48, 0x90, 0x42, 0x06, 0xd1, 0x61, 0x49, - 0x39, 0x60, 0x61, 0x49, 0x79, 0x60, 0x61, 0x49, - 0xb9, 0x60, 0x1c, 0xe0, 0x60, 0x48, 0x90, 0x42, - 0x06, 0xd1, 0x60, 0x49, 0x39, 0x60, 0x60, 0x49, - 0x79, 0x60, 0x60, 0x49, 0xb9, 0x60, 0x12, 0xe0, - 0x5f, 0x48, 0x90, 0x42, 0x06, 0xd1, 0x5f, 0x49, - 0x39, 0x60, 0x5f, 0x49, 0x79, 0x60, 0x5f, 0x49, - 0xb9, 0x60, 0x08, 0xe0, 0x5e, 0x48, 0x90, 0x42, - 0x05, 0xd1, 0x5e, 0x49, 0x39, 0x60, 0x5a, 0x49, - 0x79, 0x60, 0x5d, 0x49, 0xb9, 0x60, 0x5d, 0x48, - 0x5d, 0x49, 0x3b, 0x68, 0x98, 0x47, 0x5d, 0x48, - 0x5a, 0x49, 0x4a, 0x68, 0x00, 0xf0, 0x80, 0xf8, - 0x00, 0x28, 0xcb, 0xd0, 0x06, 0x1c, 0x5a, 0x48, - 0x56, 0x49, 0x4a, 0x68, 0x00, 0xf0, 0x78, 0xf8, - 0x00, 0x28, 0xc3, 0xd0, 0x05, 0x1c, 0x11, 0x20, - 0x14, 0x24, 0x29, 0x19, 0x2a, 0x19, 0x30, 0x23, - 0x54, 0x4c, 0x00, 0x94, 0x00, 0x24, 0x01, 0x94, - 0x00, 0x24, 0x02, 0x94, 0x7c, 0x68, 0xa0, 0x47, - 0x11, 0x20, 0x0c, 0x24, 0x31, 0x19, 0x32, 0x19, - 0xb3, 0x68, 0x4f, 0x4c, 0x00, 0x94, 0x24, 0x24, - 0x64, 0x19, 0x01, 0x94, 0x14, 0x24, 0x64, 0x19, - 0x02, 0x94, 0x7c, 0x68, 0xa0, 0x47, 0x45, 0x48, - 0x0c, 0x21, 0x89, 0x19, 0xb2, 0x68, 0x15, 0x1c, - 0x00, 0xf0, 0x4a, 0xf8, 0x47, 0x48, 0x41, 0x49, - 0x2a, 0x1c, 0x00, 0xf0, 0x4d, 0xf8, 0x00, 0x28, - 0x08, 0xd0, 0x01, 0x1c, 0x44, 0x48, 0x45, 0x4a, - 0x00, 0xf0, 0x46, 0xf8, 0x00, 0x28, 0x01, 0xd0, - 0x43, 0x49, 0x01, 0x60, 0x43, 0x48, 0x39, 0x49, - 0x2a, 0x1c, 0x00, 0xf0, 0x3d, 0xf8, 0x00, 0x28, - 0x08, 0xd0, 0x01, 0x1c, 0x40, 0x48, 0x3d, 0x4a, - 0x00, 0xf0, 0x36, 0xf8, 0x00, 0x28, 0x01, 0xd0, - 0x3e, 0x49, 0x01, 0x60, 0x3e, 0x48, 0x31, 0x49, - 0x2a, 0x1c, 0x00, 0xf0, 0x2d, 0xf8, 0x00, 0x28, - 0x08, 0xd0, 0x01, 0x1c, 0x3b, 0x48, 0x35, 0x4a, - 0x00, 0xf0, 0x26, 0xf8, 0x00, 0x28, 0x01, 0xd0, - 0x33, 0x49, 0x01, 0x60, 0x38, 0x48, 0x29, 0x49, - 0x2a, 0x1c, 0x38, 0x4b, 0x00, 0xf0, 0x1e, 0xf8, - 0x00, 0x28, 0x07, 0xd1, 0x36, 0x48, 0x25, 0x49, - 0x2a, 0x1c, 0x36, 0x4b, 0x00, 0xf0, 0x16, 0xf8, - 0x00, 0x28, 0x03, 0xd0, 0x34, 0x49, 0x01, 0x60, - 0x34, 0x49, 0x41, 0x60, 0x00, 0x20, 0x1f, 0x49, - 0x00, 0x22, 0xbb, 0x68, 0x98, 0x47, 0x55, 0xe7, - 0x0b, 0x68, 0x03, 0x60, 0x01, 0x30, 0x01, 0x31, - 0x01, 0x3a, 0x00, 0x2a, 0xf8, 0xd1, 0x70, 0x47, - 0x00, 0x23, 0xff, 0xe7, 0x10, 0xb5, 0x0c, 0x68, - 0x84, 0x42, 0x04, 0xd1, 0x00, 0x2b, 0x07, 0xd0, - 0x4c, 0x68, 0x9c, 0x42, 0x04, 0xd0, 0x02, 0x31, - 0x02, 0x3a, 0x00, 0x2a, 0xf3, 0xd1, 0x00, 0x21, - 0x08, 0x1c, 0x10, 0xbd, 0x88, 0x02, 0x00, 0x00, - 0x39, 0x2e, 0x35, 0x00, 0xe5, 0x36, 0x00, 0x00, - 0x19, 0x09, 0x00, 0x00, 0xdd, 0x39, 0x00, 0x00, - 0x34, 0x2e, 0x34, 0x00, 0x85, 0x4c, 0x00, 0x00, - 0x6d, 0x68, 0x00, 0x00, 0x5d, 0x5a, 0x00, 0x00, - 0x39, 0x2e, 0x33, 0x00, 0x9d, 0x34, 0x00, 0x00, - 0x25, 0x09, 0x00, 0x00, 0x69, 0x39, 0x00, 0x00, - 0x39, 0x2e, 0x33, 0x2e, 0xa5, 0x34, 0x00, 0x00, - 0x71, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0x84, - 0x00, 0xc0, 0x02, 0x00, 0x41, 0x54, 0x41, 0x44, - 0x47, 0x41, 0x42, 0x4b, 0x00, 0x02, 0x00, 0x20, - 0x00, 0x00, 0x00, 0x20, 0x1a, 0x78, 0xff, 0x2a, - 0x4f, 0xf0, 0xff, 0x30, 0x00, 0x02, 0x00, 0x00, - 0x00, 0x20, 0x00, 0x20, 0xf3, 0xdf, 0x90, 0xb5, - 0x07, 0x4b, 0x1b, 0x68, 0x4f, 0xf0, 0xff, 0x33, - 0x11, 0x9a, 0xd3, 0xf1, 0x18, 0xbf, 0x01, 0x20, - 0x80, 0xb5, 0x00, 0xaf, 0x82, 0xb0, 0x4f, 0xf0, - 0xb0, 0xb5, 0x02, 0xaf, 0x82, 0xb0, 0x01, 0x28, + 0xc0, 0x46, 0xc0, 0x46, 0xc0, 0x46, 0xc0, 0x46, + 0xc0, 0x46, 0xc0, 0x46, 0x61, 0x48, 0x02, 0x68, + 0x61, 0x48, 0x90, 0x42, 0x06, 0xd1, 0x61, 0x49, + 0x39, 0x60, 0x61, 0x49, 0x79, 0x60, 0x61, 0x49, + 0xb9, 0x60, 0x1c, 0xe0, 0x60, 0x48, 0x90, 0x42, + 0x06, 0xd1, 0x60, 0x49, 0x39, 0x60, 0x60, 0x49, + 0x79, 0x60, 0x60, 0x49, 0xb9, 0x60, 0x12, 0xe0, + 0x5f, 0x48, 0x90, 0x42, 0x06, 0xd1, 0x5f, 0x49, + 0x39, 0x60, 0x5f, 0x49, 0x79, 0x60, 0x5f, 0x49, + 0xb9, 0x60, 0x08, 0xe0, 0x5e, 0x48, 0x90, 0x42, + 0x05, 0xd1, 0x5e, 0x49, 0x39, 0x60, 0x5a, 0x49, + 0x79, 0x60, 0x5d, 0x49, 0xb9, 0x60, 0x5d, 0x48, + 0x5d, 0x49, 0x3b, 0x68, 0x98, 0x47, 0x5d, 0x48, + 0x5a, 0x49, 0x4a, 0x68, 0x00, 0xf0, 0x80, 0xf8, + 0x00, 0x28, 0xcb, 0xd0, 0x06, 0x1c, 0x5a, 0x48, + 0x56, 0x49, 0x4a, 0x68, 0x00, 0xf0, 0x78, 0xf8, + 0x00, 0x28, 0xc3, 0xd0, 0x05, 0x1c, 0x11, 0x20, + 0x14, 0x24, 0x29, 0x19, 0x2a, 0x19, 0x30, 0x23, + 0x54, 0x4c, 0x00, 0x94, 0x00, 0x24, 0x01, 0x94, + 0x00, 0x24, 0x02, 0x94, 0x7c, 0x68, 0xa0, 0x47, + 0x11, 0x20, 0x0c, 0x24, 0x31, 0x19, 0x32, 0x19, + 0xb3, 0x68, 0x4f, 0x4c, 0x00, 0x94, 0x24, 0x24, + 0x64, 0x19, 0x01, 0x94, 0x14, 0x24, 0x64, 0x19, + 0x02, 0x94, 0x7c, 0x68, 0xa0, 0x47, 0x45, 0x48, + 0x0c, 0x21, 0x89, 0x19, 0xb2, 0x68, 0x15, 0x1c, + 0x00, 0xf0, 0x4a, 0xf8, 0x47, 0x48, 0x41, 0x49, + 0x2a, 0x1c, 0x00, 0xf0, 0x4d, 0xf8, 0x00, 0x28, + 0x08, 0xd0, 0x01, 0x1c, 0x44, 0x48, 0x45, 0x4a, + 0x00, 0xf0, 0x46, 0xf8, 0x00, 0x28, 0x01, 0xd0, + 0x43, 0x49, 0x01, 0x60, 0x43, 0x48, 0x39, 0x49, + 0x2a, 0x1c, 0x00, 0xf0, 0x3d, 0xf8, 0x00, 0x28, + 0x08, 0xd0, 0x01, 0x1c, 0x40, 0x48, 0x3d, 0x4a, + 0x00, 0xf0, 0x36, 0xf8, 0x00, 0x28, 0x01, 0xd0, + 0x3e, 0x49, 0x01, 0x60, 0x3e, 0x48, 0x31, 0x49, + 0x2a, 0x1c, 0x00, 0xf0, 0x2d, 0xf8, 0x00, 0x28, + 0x08, 0xd0, 0x01, 0x1c, 0x3b, 0x48, 0x35, 0x4a, + 0x00, 0xf0, 0x26, 0xf8, 0x00, 0x28, 0x01, 0xd0, + 0x33, 0x49, 0x01, 0x60, 0x38, 0x48, 0x29, 0x49, + 0x2a, 0x1c, 0x38, 0x4b, 0x00, 0xf0, 0x1e, 0xf8, + 0x00, 0x28, 0x07, 0xd1, 0x36, 0x48, 0x25, 0x49, + 0x2a, 0x1c, 0x36, 0x4b, 0x00, 0xf0, 0x16, 0xf8, + 0x00, 0x28, 0x03, 0xd0, 0x34, 0x49, 0x01, 0x60, + 0x34, 0x49, 0x41, 0x60, 0x00, 0x20, 0x1f, 0x49, + 0x00, 0x22, 0xbb, 0x68, 0x98, 0x47, 0x55, 0xe7, + 0x0b, 0x68, 0x03, 0x60, 0x01, 0x30, 0x01, 0x31, + 0x01, 0x3a, 0x00, 0x2a, 0xf8, 0xd1, 0x70, 0x47, + 0x00, 0x23, 0xff, 0xe7, 0x10, 0xb5, 0x0c, 0x68, + 0x84, 0x42, 0x04, 0xd1, 0x00, 0x2b, 0x07, 0xd0, + 0x4c, 0x68, 0x9c, 0x42, 0x04, 0xd0, 0x02, 0x31, + 0x02, 0x3a, 0x00, 0x2a, 0xf3, 0xd1, 0x00, 0x21, + 0x08, 0x1c, 0x10, 0xbd, 0x88, 0x02, 0x00, 0x00, + 0x39, 0x2e, 0x35, 0x00, 0xe5, 0x36, 0x00, 0x00, + 0x19, 0x09, 0x00, 0x00, 0xdd, 0x39, 0x00, 0x00, + 0x34, 0x2e, 0x34, 0x00, 0x85, 0x4c, 0x00, 0x00, + 0x6d, 0x68, 0x00, 0x00, 0x5d, 0x5a, 0x00, 0x00, + 0x39, 0x2e, 0x33, 0x00, 0x9d, 0x34, 0x00, 0x00, + 0x25, 0x09, 0x00, 0x00, 0x69, 0x39, 0x00, 0x00, + 0x39, 0x2e, 0x33, 0x2e, 0xa5, 0x34, 0x00, 0x00, + 0x71, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0x84, + 0x00, 0xc0, 0x02, 0x00, 0x41, 0x54, 0x41, 0x44, + 0x47, 0x41, 0x42, 0x4b, 0x00, 0x02, 0x00, 0x20, + 0x00, 0x00, 0x00, 0x20, 0x1a, 0x78, 0xff, 0x2a, + 0x4f, 0xf0, 0xff, 0x30, 0x00, 0x02, 0x00, 0x00, + 0x00, 0x20, 0x00, 0x20, 0xf3, 0xdf, 0x90, 0xb5, + 0x07, 0x4b, 0x1b, 0x68, 0x4f, 0xf0, 0xff, 0x33, + 0x11, 0x9a, 0xd3, 0xf1, 0x18, 0xbf, 0x01, 0x20, + 0x80, 0xb5, 0x00, 0xaf, 0x82, 0xb0, 0x4f, 0xf0, + 0xb0, 0xb5, 0x02, 0xaf, 0x82, 0xb0, 0x01, 0x28, 0x00, 0x4b, 0x18, 0x47, 0x00, 0x00, 0x00, 0x41 }; unsigned int limera1n_payload_len = 560; diff --git a/src/locking.c b/src/locking.c index dbbbd7c..77c61f8 100644 --- a/src/locking.c +++ b/src/locking.c @@ -113,4 +113,3 @@ int unlock_file(lock_info_t* lockinfo) #endif return 0; } - diff --git a/src/locking.h b/src/locking.h index 4114f1b..d5b07ec 100644 --- a/src/locking.h +++ b/src/locking.h @@ -34,7 +34,7 @@ typedef struct { #else FILE* fp; struct flock ldata; -#endif +#endif } lock_info_t; int lock_file(const char* filename, lock_info_t* lockp); diff --git a/src/normal.c b/src/normal.c index 4193b7f..8528087 100644 --- a/src/normal.c +++ b/src/normal.c @@ -163,7 +163,7 @@ int normal_check_mode(struct idevicerestore_client_t* client) { if (!device) { return -1; } - idevice_free(device); + idevice_free(device); return 0; } diff --git a/src/recovery.c b/src/recovery.c index 91c43f3..311618c 100644 --- a/src/recovery.c +++ b/src/recovery.c @@ -230,7 +230,7 @@ int recovery_send_ticket(struct idevicerestore_client_t* client) { if (!client->tss) { error("ERROR: ApTicket requested but no TSS present\n"); - return -1; + return -1; } unsigned char* data = NULL; @@ -294,7 +294,7 @@ int recovery_send_component(struct idevicerestore_client_t* client, plist_t buil return -1; } free(component_data); - component_data = NULL; + component_data = NULL; info("Sending %s (%d bytes)...\n", component, size); diff --git a/src/restore.c b/src/restore.c index 7e23bd2..849e8f9 100644 --- a/src/restore.c +++ b/src/restore.c @@ -148,7 +148,6 @@ static int restore_idevice_new(struct idevicerestore_client_t* client, idevice_t plist_t hwinfo = NULL; if (restored_query_value(restore, "HardwareInfo", &hwinfo) != RESTORE_E_SUCCESS) { - continue; } @@ -1033,7 +1032,7 @@ static const char* restore_get_bbfw_fn_for_element(const char* elem) { "RestoreDBL", "restoredbl.mbn" }, // Phoenix/Mav4 firmware files { "DBL", "dbl.mbn" }, - { "ENANDPRG", "ENPRG.mbn" }, + { "ENANDPRG", "ENPRG.mbn" }, // Mav5 firmware files { "RestoreSBL1", "restoresbl1.mbn" }, { "SBL1", "sbl1.mbn" }, @@ -1476,7 +1475,7 @@ int restore_send_baseband_data(restored_client_t restore, struct idevicerestore_ return -1; } char* bbfwpath = NULL; - plist_get_string_val(bbfw_path, &bbfwpath); + plist_get_string_val(bbfw_path, &bbfwpath); if (!bbfwpath) { error("ERROR: Unable to get baseband path\n"); plist_free(response); @@ -1507,7 +1506,7 @@ int restore_send_baseband_data(restored_client_t restore, struct idevicerestore_ } res = -1; - + size_t sz = 0; if (read_file(bbfwtmp, (void**)&buffer, &sz) < 0) { error("ERROR: could not read updated bbfw archive\n"); @@ -1707,7 +1706,7 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit if (client->preflight_info) { plist_t node; - plist_t bbus = plist_copy(client->preflight_info); + plist_t bbus = plist_copy(client->preflight_info); plist_dict_remove_item(bbus, "FusingStatus"); plist_dict_remove_item(bbus, "PkHash"); @@ -717,7 +717,7 @@ plist_t tss_request_send(plist_t tss_request, const char* server_url_string) { curl_easy_perform(handle); curl_slist_free_all(header); curl_easy_cleanup(handle); - + if (strstr(response->content, "MESSAGE=SUCCESS")) { status_code = 0; info("response successfully received\n"); |