diff options
Diffstat (limited to 'src/idevice.c')
| -rw-r--r-- | src/idevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevice.c b/src/idevice.c index 4a6f544..f35c666 100644 --- a/src/idevice.c +++ b/src/idevice.c | |||
| @@ -758,7 +758,7 @@ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection) | |||
| 758 | gnutls_x509_privkey_init(&ssl_data_loc->root_privkey); | 758 | gnutls_x509_privkey_init(&ssl_data_loc->root_privkey); |
| 759 | gnutls_x509_privkey_init(&ssl_data_loc->host_privkey); | 759 | gnutls_x509_privkey_init(&ssl_data_loc->host_privkey); |
| 760 | 760 | ||
| 761 | userpref_error_t uerr = userpref_get_keys_and_certs(ssl_data_loc->root_privkey, ssl_data_loc->root_cert, ssl_data_loc->host_privkey, ssl_data_loc->host_cert); | 761 | userpref_error_t uerr = userpref_device_record_get_keys_and_certs(connection->udid, ssl_data_loc->root_privkey, ssl_data_loc->root_cert, ssl_data_loc->host_privkey, ssl_data_loc->host_cert); |
| 762 | if (uerr != USERPREF_E_SUCCESS) { | 762 | if (uerr != USERPREF_E_SUCCESS) { |
| 763 | debug_info("Error %d when loading keys and certificates! %d", uerr); | 763 | debug_info("Error %d when loading keys and certificates! %d", uerr); |
| 764 | } | 764 | } |
