| Index: plugins/crypto_descbc.c
|
| diff --git a/plugins/crypto_descbc.c b/plugins/crypto_descbc.c
|
| index 604af65a0e7b5c49ed6f50a52bd5f0a28fd012d6..e2c80a9baccc7269136dbb84199f8cbbe01c0680 100644
|
| --- a/plugins/crypto_descbc.c
|
| +++ b/plugins/crypto_descbc.c
|
| @@ -43,10 +43,8 @@ static int version_prefix_length = 3;
|
| static char sentinel_suffix[] = "[ok]";
|
| static int sentinel_length = 4;
|
|
|
| -static char *descbc_encrypt(const char *profile_name,
|
| - const char *key, const char *value);
|
| -static char *descbc_decrypt(const char *profile_name,
|
| - const char *key, const char *value);
|
| +static char *descbc_encrypt(const char *key, const char *value);
|
| +static char *descbc_decrypt(const char *key, const char *value);
|
|
|
| static struct connman_crypto crypto_descbc = {
|
| .name = "des-cbc",
|
| @@ -55,8 +53,7 @@ static struct connman_crypto crypto_descbc = {
|
| .decrypt_keyvalue = descbc_decrypt,
|
| };
|
|
|
| -static char *descbc_encrypt(const char *profile_name,
|
| - const char *key, const char *value)
|
| +static char *descbc_encrypt(const char *key, const char *value)
|
| {
|
| char *ciphertext = NULL;
|
| char *b64_ciphertext = NULL;
|
| @@ -120,8 +117,7 @@ static char *descbc_encrypt(const char *profile_name,
|
| return versioned_ciphertext;
|
| }
|
|
|
| -static char *descbc_decrypt(const char *profile_name,
|
| - const char *key, const char *value)
|
| +static char *descbc_decrypt(const char *key, const char *value)
|
| {
|
| gsize ciphertext_size;
|
| int rv;
|
|
|