diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-26 22:06:15 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-08-29 12:46:44 +0000 |
commit | 516910754e51f5a6066f129a0b3c7e214d771b77 (patch) | |
tree | 004017d3589f0b30e7d5209182f51fbdfff9006c /utils | |
parent | 9ca7d3e400e6bfdb43169075187508a401d33e6d (diff) |
osmo-auc-gen: umts: remove erratic SQN.MS printout
osmo-auc-gen tries to be helpful by deriving the SQN.MS from the SQN that
resulted from AUTS + milenage_gen_vec(), but there is actually no way to derive
the actual AUTS SQN.MS from the resulting SQN.
Completely drop the printout to prevent confusion.
Adjust test suite expectations.
Related: OS#2464
Change-Id: Ie2432c6d6a23818f7b3a29b1295dcbb505e2be53
Diffstat (limited to 'utils')
-rw-r--r-- | utils/osmo-auc-gen.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/utils/osmo-auc-gen.c b/utils/osmo-auc-gen.c index 76c49274..fade6ec5 100644 --- a/utils/osmo-auc-gen.c +++ b/utils/osmo-auc-gen.c @@ -266,11 +266,5 @@ int main(int argc, char **argv) printf("SQN:\t%" PRIu64 "\n", test_aud.u.umts.sqn); } - /* After recovering SQN.MS from AUTS, milenage_gen_vec_auts() does - * aud->u.umts.sqn++, so to show SQN.MS we need to -1 */ - if (auts_is_set) - printf("AUTS success: SQN.MS = %" PRIu64 "\n", - test_aud.u.umts.sqn - 1); - exit(0); } |