diff options
Diffstat (limited to 'src/idevice.h')
| -rw-r--r-- | src/idevice.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/idevice.h b/src/idevice.h index a4ce251..231b3ab 100644 --- a/src/idevice.h +++ b/src/idevice.h | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | #define IDEVICE_H | 22 | #define IDEVICE_H |
| 23 | 23 | ||
| 24 | #include <gnutls/gnutls.h> | 24 | #include <gnutls/gnutls.h> |
| 25 | #include <gnutls/x509.h> | ||
| 25 | 26 | ||
| 26 | #include "libimobiledevice/libimobiledevice.h" | 27 | #include "libimobiledevice/libimobiledevice.h" |
| 27 | 28 | ||
| @@ -30,8 +31,12 @@ enum connection_type { | |||
| 30 | }; | 31 | }; |
| 31 | 32 | ||
| 32 | struct ssl_data_private { | 33 | struct ssl_data_private { |
| 33 | gnutls_certificate_credentials_t certificate; | 34 | gnutls_certificate_credentials_t certificate; |
| 34 | gnutls_session_t session; | 35 | gnutls_session_t session; |
| 36 | gnutls_x509_privkey_t root_privkey; | ||
| 37 | gnutls_x509_crt_t root_cert; | ||
| 38 | gnutls_x509_privkey_t host_privkey; | ||
| 39 | gnutls_x509_crt_t host_cert; | ||
| 35 | }; | 40 | }; |
| 36 | typedef struct ssl_data_private *ssl_data_t; | 41 | typedef struct ssl_data_private *ssl_data_t; |
| 37 | 42 | ||
