diff options
Diffstat (limited to 'src/lockdown.c')
| -rw-r--r-- | src/lockdown.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index 5568f03..ea161bc 100644 --- a/src/lockdown.c +++ b/src/lockdown.c | |||
| @@ -1131,6 +1131,9 @@ lockdownd_error_t lockdownd_start_session(lockdownd_client_t client, const char | |||
| 1131 | ret = property_list_service_enable_ssl(client->parent); | 1131 | ret = property_list_service_enable_ssl(client->parent); |
| 1132 | if (ret == PROPERTY_LIST_SERVICE_E_SUCCESS) { | 1132 | if (ret == PROPERTY_LIST_SERVICE_E_SUCCESS) { |
| 1133 | client->ssl_enabled = 1; | 1133 | client->ssl_enabled = 1; |
| 1134 | } else { | ||
| 1135 | ret = LOCKDOWN_E_SSL_ERROR; | ||
| 1136 | client->ssl_enabled = 0; | ||
| 1134 | } | 1137 | } |
| 1135 | } else { | 1138 | } else { |
| 1136 | client->ssl_enabled = 0; | 1139 | client->ssl_enabled = 0; |
