diff options
author | Martin Szulecki | 2014-03-21 02:08:18 +0100 |
---|---|---|
committer | Martin Szulecki | 2014-03-21 02:08:18 +0100 |
commit | 1331f6baa1799e41003aa812c0d1bf36193535ea (patch) | |
tree | c609a3ed3f2c0b0be4b3c14bcea2bb065abe6d75 /src | |
parent | 9d22637c176060c1b996e37aa9dd594a052945e9 (diff) | |
download | libimobiledevice-1331f6baa1799e41003aa812c0d1bf36193535ea.tar.gz libimobiledevice-1331f6baa1799e41003aa812c0d1bf36193535ea.tar.bz2 |
lockdown: Make sure to set SystemBUID in generated pair records
Diffstat (limited to 'src')
-rw-r--r-- | src/lockdown.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index da9bbac..4cc9d84 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -880,8 +880,9 @@ static lockdownd_error_t pair_record_generate(lockdownd_client_t client, plist_t break; } - /* get systembuid and host id */ + /* set SystemBUID */ userpref_read_system_buid(&system_buid); + plist_dict_set_item(*pair_record, USERPREF_SYSTEM_BUID_KEY, plist_new_string(system_buid)); pair_record_set_host_id(*pair_record, host_id); |