path: root/msc
diff options
authorNeels Hofmeyr <>2020-06-10 17:31:18 +0200
committerneels <>2020-06-14 10:52:48 +0000
commit16617816114f31bc9560c9646b4f566259f3b4a3 (patch)
tree167f668e4ae0d8a7424259e2029b64253ae5ee8e /msc
parent15a850123243701c538dd110719ce5789820029e (diff)
fix f_enc_IMEI_L3() oddevenIndicator
f_gen_imei() calls f_enc_IMEI_L3() with a 14 digits argument, but the IMEI_L3 template used is hardcoded to 15 digits. So the oddevenIndicator must always indicate odd, not depend on the digits argument. f_gen_imei() should probably also compose a Luhn checksum, leaving that to another patch. Found by using the new osmo_mobile_identity API in osmo-msc, which is stricter about odd/even and filler digits than our previous implementations. See osmo-msc Idfc8e576e10756aeaacf5569f6178068313eb7ea . Change-Id: Iaa9ba1214c4c15fd9620e68fe2e842fdf52912c0
Diffstat (limited to 'msc')
0 files changed, 0 insertions, 0 deletions