libosmocore/tests/gsm23003
Oliver Smith 894be2d9da gsm23003: add osmo_imei_str_valid()
Verify 14 digit and 15 digit IMEI strings. OsmoHLR will use the 14
digit version to check IMEIs before writing them to the DB.

Place the Luhn checksum code in a dedicated osmo_luhn() function, so
it can be used elsewhere.

Related: OS#2541
Change-Id: Id2d2a3a93b033bafc74c62e15297034bf4aafe61
2019-01-14 14:39:57 +00:00
..
gsm23003_test.c gsm23003: add osmo_imei_str_valid() 2019-01-14 14:39:57 +00:00
gsm23003_test.ok gsm23003: add osmo_imei_str_valid() 2019-01-14 14:39:57 +00:00