summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lockdown.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lockdown.c b/src/lockdown.c
index 59efc76..da9bbac 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -852,7 +852,7 @@ static lockdownd_error_t pair_record_generate(lockdownd_client_t client, plist_t
*pair_record = plist_new_dict();
userpref_error_t uret = USERPREF_E_SUCCESS;
- uret = pair_record_generate_keys_and_certs(pair_record);
+ uret = pair_record_generate_keys_and_certs(*pair_record);
switch(uret) {
case USERPREF_E_INVALID_ARG:
ret = LOCKDOWN_E_INVALID_ARG;
@@ -866,7 +866,7 @@ static lockdownd_error_t pair_record_generate(lockdownd_client_t client, plist_t
break;
}
- uret = pair_record_generate_from_device_public_key(pair_record, public_key);
+ uret = pair_record_generate_from_device_public_key(*pair_record, public_key);
switch(uret) {
case USERPREF_E_INVALID_ARG:
ret = LOCKDOWN_E_INVALID_ARG;
@@ -883,7 +883,7 @@ static lockdownd_error_t pair_record_generate(lockdownd_client_t client, plist_t
/* get systembuid and host id */
userpref_read_system_buid(&system_buid);
- pair_record_set_host_id(pair_record, host_id);
+ pair_record_set_host_id(*pair_record, host_id);
if (ret != LOCKDOWN_E_SUCCESS) {
goto leave;