diff options
author | Nikias Bassen <nikias@gmx.li> | 2019-09-05 19:50:24 +0200 |
---|---|---|
committer | Nikias Bassen <nikias@gmx.li> | 2019-09-05 19:50:24 +0200 |
commit | a9e69b1252e5918b6d8ada1209ccefde301cfa26 (patch) | |
tree | 2428ae909f123e48dac2afead248089ae1c531fd /src/idevice.h | |
parent | 6d5a3d6a35a8610f83d6a69156cfe1b64da4f2bd (diff) | |
download | libimobiledevice-a9e69b1252e5918b6d8ada1209ccefde301cfa26.tar.gz |
idevice: Fix handling SSL/TLS version selection for OpenSSL 1.1.0+ and for older devices
Diffstat (limited to 'src/idevice.h')
-rw-r--r-- | src/idevice.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/idevice.h b/src/idevice.h index 94e828b..f403c55 100644 --- a/src/idevice.h +++ b/src/idevice.h @@ -46,6 +46,8 @@ #include "common/userpref.h" #include "libimobiledevice/libimobiledevice.h" +#define DEVICE_VERSION(maj, min, patch) (((maj & 0xFF) << 16) | ((min & 0xFF) << 8) | (patch & 0xFF)) + enum connection_type { CONNECTION_USBMUXD = 1 }; @@ -66,7 +68,7 @@ struct ssl_data_private { typedef struct ssl_data_private *ssl_data_t; struct idevice_connection_private { - char *udid; + idevice_t device; enum connection_type type; void *data; ssl_data_t ssl_data; |