| Index: src/crypto.c
|
| diff --git a/src/crypto.c b/src/crypto.c
|
| index 697162631cdd2560d010d2d45ed73a67c025066f..b2b4c0b5d1f4496204acc3840e1777f0e964250e 100644
|
| --- a/src/crypto.c
|
| +++ b/src/crypto.c
|
| @@ -76,8 +76,7 @@ void connman_crypto_unregister(struct connman_crypto *crypto)
|
| crypto_list = g_slist_remove(crypto_list, crypto);
|
| }
|
|
|
| -char *__connman_crypto_decrypt_keyvalue(const char *profile_name,
|
| - const char *key, const char *value)
|
| +char *__connman_crypto_decrypt_keyvalue(const char *key, const char *value)
|
| {
|
| GSList *list;
|
|
|
| @@ -91,7 +90,7 @@ char *__connman_crypto_decrypt_keyvalue(const char *profile_name,
|
| * The prefix matches, so this plugin *must* be the
|
| * one that knows how to decrypt.
|
| */
|
| - return crypto->decrypt_keyvalue(profile_name, key,
|
| + return crypto->decrypt_keyvalue(key,
|
| &value[crypto->prefix_size]);
|
| }
|
| }
|
| @@ -103,8 +102,7 @@ char *__connman_crypto_decrypt_keyvalue(const char *profile_name,
|
| return g_strdup(value);
|
| }
|
|
|
| -char *__connman_crypto_encrypt_keyvalue(const char *profile_name,
|
| - const char *key, const char *value)
|
| +char *__connman_crypto_encrypt_keyvalue(const char *key, const char *value)
|
| {
|
| GSList *list;
|
| char *rv = NULL;
|
| @@ -114,8 +112,7 @@ char *__connman_crypto_encrypt_keyvalue(const char *profile_name,
|
|
|
| for (list = crypto_list; list; list = list->next) {
|
| struct connman_crypto *crypto = list->data;
|
| - char *ciphertext = crypto->encrypt_keyvalue(
|
| - profile_name, key, value);
|
| + char *ciphertext = crypto->encrypt_keyvalue(key, value);
|
|
|
| if (ciphertext != NULL) {
|
| rv = g_strdup_printf("%s%s", crypto->prefix,
|
|
|