Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: plugins/crypto_rot47.c

Issue 6659006: flimflam: add support for multiple profiles (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: more ers comments Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « plugins/crypto_descbc.c ('k') | plugins/newwifi.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugins/crypto_rot47.c
diff --git a/plugins/crypto_rot47.c b/plugins/crypto_rot47.c
index fb3f752c5a4704b4c0a8c0603cbe82c389855e40..6d0372e30cc069506ca3f6960e7519b0b0ad8d98 100644
--- a/plugins/crypto_rot47.c
+++ b/plugins/crypto_rot47.c
@@ -23,8 +23,7 @@
#define ROT_MIN '!'
#define ROT_MAX (ROT_MIN + ROT_SIZE)
-static char *rotate_encrypt(const char *profile_name,
- const char *key, const char *value);
+static char *rotate_encrypt(const char *key, const char *value);
static struct connman_crypto crypto_rot47 = {
.name = "rot47",
@@ -33,8 +32,7 @@ static struct connman_crypto crypto_rot47 = {
.decrypt_keyvalue = rotate_encrypt,
};
-static char *rotate_encrypt(const char *profile_name,
- const char *key, const char *value)
+static char *rotate_encrypt(const char *key, const char *value)
{
char *rv = g_strdup(value);
gsize i, len = strlen(rv);
« no previous file with comments | « plugins/crypto_descbc.c ('k') | plugins/newwifi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698