aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-16 00:50:06 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-20 00:21:42 +0000
commit14477997c1539878b877396ef5b4251001f4e70f (patch)
treefdf3bae0dc46585cec0c21cc9f7aba9967d18bd1 /src/coding
parent1c260c0a09810c76188e3d39454c309ffbc72f6b (diff)
osmo-auc-gen: fix --sqn limit on 32bit systems, fixing build
osmo-auc-gen on 32bit systems allowed only --sqn up to 32bits width. However, the recently added regression test for osmo-auc-gen includes an ivocation with a 48bit wide --sqn, which now causes the builds to fail on 32bit systems. Fix the --sqn argument parsing for larger integers by using strtoull(). Do away with the intermediate variable 'ul' and place the value directly in the auth data struct. Change-Id: Ifb73b3b3de06576e36076ca573d52327f90a1f77
Diffstat (limited to 'src/coding')
0 files changed, 0 insertions, 0 deletions