diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-26 22:08:36 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-08-29 12:46:44 +0000 |
commit | d157bbb46f5fcf305b0e4710030ecd795432d444 (patch) | |
tree | 24c14374b39ade09ad77f4cc9380e6450f060159 /include/osmocom/gsm/ipa.h | |
parent | 516910754e51f5a6066f129a0b3c7e214d771b77 (diff) |
osmo-auc-gen: umts: properly request --sqn
The user supplied an --sqn to generate a vector for, but milenage_gen_vec()
performs a nontrivial SQN increment before generating the vector. To end up
with the user supplied SQN, we need to reverse this increment beforehand.
Do this after all cmdline args have been parsed, in case one of them modifies
the IND-bitlen parameter, which affects the SQN calculations.
Related: OS#2464 OS#2465
Change-Id: Ic51a8f6333fee9c02b4073ca360991d0aa69c74f
Diffstat (limited to 'include/osmocom/gsm/ipa.h')
0 files changed, 0 insertions, 0 deletions