mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #567090: Fix erroneous password length comparison.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18393 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
7f486984a9
commit
990592d496
@ -408,7 +408,7 @@ static int inputBoxCB(AB_BANKING *ab,
|
||||
if (!retval)
|
||||
break;
|
||||
}
|
||||
else if (strlen(passwd) >= (unsigned int)maxLen) {
|
||||
else if (strlen(passwd) > (unsigned int)maxLen) {
|
||||
gboolean retval;
|
||||
char *msg =
|
||||
g_strdup_printf ( _("You entered %ld characters, but the PIN must "
|
||||
@ -489,7 +489,7 @@ static int getTanCB(AB_BANKING *ab,
|
||||
if (!retval)
|
||||
break;
|
||||
}
|
||||
else if (strlen(passwd) >= (unsigned int)maxLen) {
|
||||
else if (strlen(passwd) > (unsigned int)maxLen) {
|
||||
gboolean retval;
|
||||
char *msg =
|
||||
g_strdup_printf ( _("You entered %ld characters, but the TAN must "
|
||||
|
Loading…
Reference in New Issue
Block a user