summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-03-10 16:08:31 +0100
committerGravatar Nikias Bassen2014-03-10 16:08:31 +0100
commit3d161e0f0c98392550c75a9c5722b447eef4efa2 (patch)
treecf2371bd9c1cc764c8e066f073d62b97b6ea1360
parent0130406fef52c4f2b011518ea6e07971ecf8662e (diff)
downloadlibimobiledevice-3d161e0f0c98392550c75a9c5722b447eef4efa2.tar.gz
libimobiledevice-3d161e0f0c98392550c75a9c5722b447eef4efa2.tar.bz2
lockdown: disable SSL in lockdownd_stop_session()
-rw-r--r--src/lockdown.c5
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 *
client->session_id = NULL;
}
+ if (client->ssl_enabled) {
+ property_list_service_disable_ssl(client->parent);
+ client->ssl_enabled = 0;
+ }
+
return ret;
}