[grisbi-cvs] [SCM] grisbi branch, master, updated. f6c711e10af8b33df6dd86fcc5e615b0776c8222
Pierre Biava
nobody at users.sourceforge.net
Sat Aug 21 17:00:11 CEST 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".
The branch, master has been updated
via f6c711e10af8b33df6dd86fcc5e615b0776c8222 (commit)
from 27369bb2260bad4e70f5a89e24442f10ab62a3b0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f6c711e10af8b33df6dd86fcc5e615b0776c8222
Author: pbiava <pierre.biava at nerim.net>
Date: Sat Aug 21 16:59:03 2010 +0200
changes in the length of passwords: 7 characters for Apple OS
-----------------------------------------------------------------------
Changes:
diff --git a/src/plugins/openssl/openssl.c b/src/plugins/openssl/openssl.c
index c1fcf47..c4ae0ef 100644
--- a/src/plugins/openssl/openssl.c
+++ b/src/plugins/openssl/openssl.c
@@ -276,17 +276,19 @@ gchar *gsb_file_util_ask_for_crypt_key ( gchar * file_name, gchar * additional_m
gtk_widget_show_all ( dialog );
+#ifdef __APPLE__
return_bad_password:
+#endif /* __APPLE__ */
result = gtk_dialog_run ( GTK_DIALOG ( dialog ));
switch (result)
{
case GTK_RESPONSE_OK:
-
key = g_strdup (gtk_entry_get_text ( GTK_ENTRY ( entry )));
if (!strlen ( key ) )
key = NULL;
+#ifdef __APPLE__
else if ( g_utf8_strlen ( key, -1 ) < 7 )
{
dialogue_warning_hint ( _("The password must contain at least 7 characters"),
@@ -295,7 +297,7 @@ return_bad_password:
goto return_bad_password;
}
-
+#endif /* __APPLE__ */
if ( gtk_toggle_button_get_active ( GTK_TOGGLE_BUTTON ( button )))
crypt_key = key;
hooks/post-receive
--
grisbi
More information about the cvs
mailing list