diff options
| author | 2025-06-07 14:51:31 +0200 | |
|---|---|---|
| committer | 2025-06-07 14:51:31 +0200 | |
| commit | 009b98206be4cd075c592ccf187d5237c7238b89 (patch) | |
| tree | 12a20b4abc99dc4a9f6a88e1ff02603b8689e67b | |
| parent | c40be2774067703209ec5d3b2a975034b2fb7440 (diff) | |
| download | libimobiledevice-009b98206be4cd075c592ccf187d5237c7238b89.tar.gz libimobiledevice-009b98206be4cd075c592ccf187d5237c7238b89.tar.bz2 | |
idevice: Fix build
| -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 | /* |
