Fix: Check password length based on its type
authorPekka Pessi <Pekka.Pessi@nokia.com>
Fri, 19 Mar 2010 17:49:54 +0000 (19:49 +0200)
committerDenis Kenzior <denkenz@gmail.com>
Fri, 19 Mar 2010 18:48:04 +0000 (13:48 -0500)
commit9a398a1087ebf3c327dcd3ed8191da33fc0d361b
treef0f23239935967d79922a3f0628fa5a4624d05d3
parentc0c682d5c04f1e1b75c624e26c44c9f11e07b44b
Fix: Check password length based on its type

The different password types have different length requirements, so
update is_valid_pin to validate according to the password type being
validated (PIN / PUK / NET)
src/call-barring.c
src/call-meter.c
src/common.c
src/common.h
src/sim.c