Fix: Regression in PIN validity checking

This commit is contained in:
Denis Kenzior 2010-04-02 09:17:34 -05:00
parent edba0296c5
commit 0aebcb342c
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ gboolean is_valid_pin(const char *pin, enum pin_type type)
return FALSE;
i = strlen(pin);
if (i != strspn(pin, "012345679"))
if (i != strspn(pin, "0123456789"))
return FALSE;
switch (type) {