summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/idevice.c2
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)
}
#else
SSL_CTX_set_min_proto_version(ssl_ctx, TLS1_VERSION);
- if (connection->device->version < DEVICE_VERSION(10,0,0)) {
+ if (connection->device->version < IDEVICE_DEVICE_VERSION(10,0,0)) {
SSL_CTX_set_max_proto_version(ssl_ctx, TLS1_VERSION);
if (connection->device->version == 0) {
/*