diff options
| author | 2019-09-05 19:50:24 +0200 | |
|---|---|---|
| committer | 2019-09-05 19:50:24 +0200 | |
| commit | a9e69b1252e5918b6d8ada1209ccefde301cfa26 (patch) | |
| tree | 2428ae909f123e48dac2afead248089ae1c531fd /src/idevice.h | |
| parent | 6d5a3d6a35a8610f83d6a69156cfe1b64da4f2bd (diff) | |
| download | libimobiledevice-a9e69b1252e5918b6d8ada1209ccefde301cfa26.tar.gz libimobiledevice-a9e69b1252e5918b6d8ada1209ccefde301cfa26.tar.bz2 | |
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 @@ | |||
| 46 | #include "common/userpref.h" | 46 | #include "common/userpref.h" |
| 47 | #include "libimobiledevice/libimobiledevice.h" | 47 | #include "libimobiledevice/libimobiledevice.h" |
| 48 | 48 | ||
| 49 | #define DEVICE_VERSION(maj, min, patch) (((maj & 0xFF) << 16) | ((min & 0xFF) << 8) | (patch & 0xFF)) | ||
| 50 | |||
| 49 | enum connection_type { | 51 | enum connection_type { |
| 50 | CONNECTION_USBMUXD = 1 | 52 | CONNECTION_USBMUXD = 1 |
| 51 | }; | 53 | }; |
| @@ -66,7 +68,7 @@ struct ssl_data_private { | |||
| 66 | typedef struct ssl_data_private *ssl_data_t; | 68 | typedef struct ssl_data_private *ssl_data_t; |
| 67 | 69 | ||
| 68 | struct idevice_connection_private { | 70 | struct idevice_connection_private { |
| 69 | char *udid; | 71 | idevice_t device; |
| 70 | enum connection_type type; | 72 | enum connection_type type; |
| 71 | void *data; | 73 | void *data; |
| 72 | ssl_data_t ssl_data; | 74 | ssl_data_t ssl_data; |
