14 lines
598 B
Diff
14 lines
598 B
Diff
--- gnome-keyring-3.3.4/daemon/dbus/gkd-secret-error.c 2011-12-19 02:51:11.000000000 -0500
|
|
+++ foo/daemon/dbus/gkd-secret-error.c 2012-01-18 09:12:28.976906276 -0500
|
|
@@ -60,7 +60,9 @@
|
|
|
|
g_return_val_if_fail (error != NULL, NULL);
|
|
|
|
- if (g_error_matches (error, GCK_ERROR, CKR_USER_NOT_LOGGED_IN)) {
|
|
+ if (g_error_matches (error, GCK_ERROR, CKR_USER_NOT_LOGGED_IN) ||
|
|
+ g_error_matches (error, GCK_ERROR, CKR_PIN_INCORRECT)) {
|
|
+
|
|
dbus_set_error (&derr, INTERNAL_ERROR_DENIED, "The password was invalid");
|
|
|
|
} else if (g_error_matches (error, GCK_ERROR, CKR_WRAPPED_KEY_INVALID) ||
|