diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2015-08-15 12:56:50 -0700 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2015-08-29 09:53:04 -0700 |
commit | a79d4ad21c0ae044b6586750d43f2bf441e34aac (patch) | |
tree | 6b613f09f0d0852cef7d4bae70a9ad694f6d8cdc /daemon | |
parent | 24f3d5518af4b14c9658bfa4ffe6b1607755381e (diff) | |
download | gnome-keyring-a79d4ad21c0ae044b6586750d43f2bf441e34aac.tar.gz |
dbus: use sizeof(guchar) instead of sizeof(guint8)
Does not make a difference, but it makes more logical sense.
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/dbus/gkd-secret-secret.c | 4 | ||||
-rw-r--r-- | daemon/dbus/gkd-secret-session.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/daemon/dbus/gkd-secret-secret.c b/daemon/dbus/gkd-secret-secret.c index 12bf62e6..691a5350 100644 --- a/daemon/dbus/gkd-secret-secret.c +++ b/daemon/dbus/gkd-secret-secret.c @@ -96,11 +96,11 @@ gkd_secret_secret_parse (GkdSecretService *service, /* parameter */ parameter_variant = g_variant_get_child_value (variant, 1); - parameter = g_variant_get_fixed_array (parameter_variant, &n_parameter, sizeof (guint8)); + parameter = g_variant_get_fixed_array (parameter_variant, &n_parameter, sizeof (guchar)); /* value */ value_variant = g_variant_get_child_value (variant, 2); - value = g_variant_get_fixed_array (value_variant, &n_value, sizeof (guint8)); + value = g_variant_get_fixed_array (value_variant, &n_value, sizeof (guchar)); /* Try to lookup the session */ session = gkd_secret_service_lookup_session (service, path, sender); diff --git a/daemon/dbus/gkd-secret-session.c b/daemon/dbus/gkd-secret-session.c index 11950bf3..0108ac0f 100644 --- a/daemon/dbus/gkd-secret-session.c +++ b/daemon/dbus/gkd-secret-session.c @@ -209,7 +209,7 @@ aes_negotiate (GkdSecretSession *self, return FALSE; } - input = g_variant_get_fixed_array (input_variant, &n_input, sizeof (guint8)); + input = g_variant_get_fixed_array (input_variant, &n_input, sizeof (guchar)); ret = aes_derive_key (session, priv, input, n_input, &key); gck_object_destroy (priv, NULL, NULL); |