From 009b98206be4cd075c592ccf187d5237c7238b89 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 7 Jun 2025 14:51:31 +0200 Subject: idevice: Fix build --- src/idevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { /* -- cgit v1.1-32-gdbae