From 516910754e51f5a6066f129a0b3c7e214d771b77 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sat, 26 Aug 2017 22:06:15 +0200 Subject: 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 --- utils/osmo-auc-gen.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'utils') 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); } -- cgit v1.2.3