Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
65f66a72
Commit
65f66a72
authored
Aug 25, 2008
by
Jonathan Beck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finish lockdown.c migration
parent
ad65cefa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lockdown.c
src/lockdown.c
+4
-4
No files found.
src/lockdown.c
View file @
65f66a72
...
...
@@ -284,7 +284,7 @@ int lockdownd_generic_get_value(iphone_lckd_client_t control, char *req_key, cha
*
* @return 1 on success and 0 on failure.
*/
int
lockdownd_get_device_uid
(
lockdown
d_client_t
control
,
char
**
uid
)
int
lockdownd_get_device_uid
(
iphone_lck
d_client_t
control
,
char
**
uid
)
{
return
lockdownd_generic_get_value
(
control
,
"UniqueDeviceID"
,
uid
);
}
...
...
@@ -295,7 +295,7 @@ int lockdownd_get_device_uid(lockdownd_client_t control, char **uid)
*
* @return 1 on success and 0 on failure.
*/
int
lockdownd_get_device_public_key
(
lockdown
d_client_t
control
,
char
**
public_key
)
int
lockdownd_get_device_public_key
(
iphone_lck
d_client_t
control
,
char
**
public_key
)
{
return
lockdownd_generic_get_value
(
control
,
"DevicePublicKey"
,
public_key
);
}
...
...
@@ -322,7 +322,7 @@ int iphone_lckd_new_client ( iphone_device_t device, iphone_lckd_client_t *clien
char
*
uid
=
NULL
;
if
(
IPHONE_E_SUCCESS
==
ret
&&
!
lockdownd_get_device_uid
(
c
ontrol
_loc
,
&
uid
)){
if
(
IPHONE_E_SUCCESS
==
ret
&&
!
lockdownd_get_device_uid
(
c
lient
_loc
,
&
uid
)){
fprintf
(
stderr
,
"Device refused to send uid.
\n
"
);
ret
=
IPHONE_E_NOT_ENOUGH_DATA
;
}
...
...
@@ -334,7 +334,7 @@ int iphone_lckd_new_client ( iphone_device_t device, iphone_lckd_client_t *clien
}
if
(
IPHONE_E_SUCCESS
==
ret
&&
!
is_device_known
(
uid
))
ret
=
lockdownd_pair_device
(
*
control
,
uid
,
host_id
);
ret
=
lockdownd_pair_device
(
client_loc
,
uid
,
host_id
);
if
(
uid
)
{
free
(
uid
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment