diff options
| -rw-r--r-- | src/idevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevice.c b/src/idevice.c index 1cdfef2..2252d22 100644 --- a/src/idevice.c +++ b/src/idevice.c | |||
| @@ -1256,7 +1256,7 @@ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection) | |||
| 1256 | } | 1256 | } |
| 1257 | #else | 1257 | #else |
| 1258 | SSL_CTX_set_min_proto_version(ssl_ctx, TLS1_VERSION); | 1258 | SSL_CTX_set_min_proto_version(ssl_ctx, TLS1_VERSION); |
| 1259 | if (connection->device->version < DEVICE_VERSION(10,0,0)) { | 1259 | if (connection->device->version < IDEVICE_DEVICE_VERSION(10,0,0)) { |
| 1260 | SSL_CTX_set_max_proto_version(ssl_ctx, TLS1_VERSION); | 1260 | SSL_CTX_set_max_proto_version(ssl_ctx, TLS1_VERSION); |
| 1261 | if (connection->device->version == 0) { | 1261 | if (connection->device->version == 0) { |
| 1262 | /* | 1262 | /* |
