diff options
Diffstat (limited to 'common/userpref.h')
-rw-r--r-- | common/userpref.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/userpref.h b/common/userpref.h index 4ea630f..072721a 100644 --- a/common/userpref.h +++ b/common/userpref.h | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <config.h> | 27 | #include <config.h> |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #ifdef HAVE_OPENSSL | 30 | #if defined(HAVE_OPENSSL) || defined(HAVE_MBEDTLS) |
31 | typedef struct { | 31 | typedef struct { |
32 | unsigned char *data; | 32 | unsigned char *data; |
33 | unsigned int size; | 33 | unsigned int size; |
@@ -68,7 +68,7 @@ userpref_error_t userpref_save_pair_record(const char *udid, uint32_t device_id, | |||
68 | userpref_error_t userpref_delete_pair_record(const char *udid); | 68 | userpref_error_t userpref_delete_pair_record(const char *udid); |
69 | 69 | ||
70 | userpref_error_t pair_record_generate_keys_and_certs(plist_t pair_record, key_data_t public_key); | 70 | userpref_error_t pair_record_generate_keys_and_certs(plist_t pair_record, key_data_t public_key); |
71 | #ifdef HAVE_OPENSSL | 71 | #if defined(HAVE_OPENSSL) || defined(HAVE_MBEDTLS) |
72 | userpref_error_t pair_record_import_key_with_name(plist_t pair_record, const char* name, key_data_t* key); | 72 | 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_crt_with_name(plist_t pair_record, const char* name, key_data_t* cert); | 73 | userpref_error_t pair_record_import_crt_with_name(plist_t pair_record, const char* name, key_data_t* cert); |
74 | #else | 74 | #else |