summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}