diff options
| author | 2014-03-10 16:08:31 +0100 | |
|---|---|---|
| committer | 2014-03-10 16:08:31 +0100 | |
| commit | 3d161e0f0c98392550c75a9c5722b447eef4efa2 (patch) | |
| tree | cf2371bd9c1cc764c8e066f073d62b97b6ea1360 /src | |
| parent | 0130406fef52c4f2b011518ea6e07971ecf8662e (diff) | |
| download | libimobiledevice-3d161e0f0c98392550c75a9c5722b447eef4efa2.tar.gz libimobiledevice-3d161e0f0c98392550c75a9c5722b447eef4efa2.tar.bz2 | |
lockdown: disable SSL in lockdownd_stop_session()
Diffstat (limited to 'src')
| -rw-r--r-- | src/lockdown.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index 641fcdb..227246a 100644 --- a/src/lockdown.c +++ b/src/lockdown.c | |||
| @@ -217,6 +217,11 @@ lockdownd_error_t lockdownd_stop_session(lockdownd_client_t client, const char * | |||
| 217 | client->session_id = NULL; | 217 | client->session_id = NULL; |
| 218 | } | 218 | } |
| 219 | 219 | ||
| 220 | if (client->ssl_enabled) { | ||
| 221 | property_list_service_disable_ssl(client->parent); | ||
| 222 | client->ssl_enabled = 0; | ||
| 223 | } | ||
| 224 | |||
| 220 | return ret; | 225 | return ret; |
| 221 | } | 226 | } |
| 222 | 227 | ||
