diff options
| author | 2025-06-07 14:44:57 +0200 | |
|---|---|---|
| committer | 2025-06-07 14:46:22 +0200 | |
| commit | c40be2774067703209ec5d3b2a975034b2fb7440 (patch) | |
| tree | 1146af2cff5b90ece24a33721a93b9926eaecf07 /common/userpref.h | |
| parent | 58baf028aef525e337325c0866b5606f2e3b815c (diff) | |
| download | libimobiledevice-c40be2774067703209ec5d3b2a975034b2fb7440.tar.gz libimobiledevice-c40be2774067703209ec5d3b2a975034b2fb7440.tar.bz2 | |
Use SHA256 signature instead of SHA1 for iOS 4 and newer when creating and signing pairing certificates
Diffstat (limited to 'common/userpref.h')
| -rw-r--r-- | common/userpref.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/userpref.h b/common/userpref.h index 75bb8b7..9a1832c 100644 --- a/common/userpref.h +++ b/common/userpref.h | |||
| @@ -68,7 +68,7 @@ userpref_error_t userpref_read_pair_record(const char *udid, plist_t *pair_recor | |||
| 68 | userpref_error_t userpref_save_pair_record(const char *udid, uint32_t device_id, plist_t pair_record); | 68 | userpref_error_t userpref_save_pair_record(const char *udid, uint32_t device_id, plist_t pair_record); |
| 69 | userpref_error_t userpref_delete_pair_record(const char *udid); | 69 | userpref_error_t userpref_delete_pair_record(const char *udid); |
| 70 | 70 | ||
| 71 | userpref_error_t pair_record_generate_keys_and_certs(plist_t pair_record, key_data_t public_key); | 71 | userpref_error_t pair_record_generate_keys_and_certs(plist_t pair_record, key_data_t public_key, unsigned int device_version); |
| 72 | #if defined(HAVE_OPENSSL) || defined(HAVE_MBEDTLS) | 72 | #if defined(HAVE_OPENSSL) || defined(HAVE_MBEDTLS) |
| 73 | userpref_error_t pair_record_import_key_with_name(plist_t pair_record, const char* name, key_data_t* key); | 73 | userpref_error_t pair_record_import_key_with_name(plist_t pair_record, const char* name, key_data_t* key); |
| 74 | userpref_error_t pair_record_import_crt_with_name(plist_t pair_record, const char* name, key_data_t* cert); | 74 | userpref_error_t pair_record_import_crt_with_name(plist_t pair_record, const char* name, key_data_t* cert); |
