diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-16 00:50:06 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-20 00:21:42 +0000 |
commit | 14477997c1539878b877396ef5b4251001f4e70f (patch) | |
tree | fdf3bae0dc46585cec0c21cc9f7aba9967d18bd1 /libosmovty.pc.in | |
parent | 1c260c0a09810c76188e3d39454c309ffbc72f6b (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 'libosmovty.pc.in')
0 files changed, 0 insertions, 0 deletions