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 | |
| 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
| -rw-r--r-- | tests/osmo-auc-gen/osmo-auc-gen_test.ok | 1 | ||||
| -rw-r--r-- | utils/osmo-auc-gen.c | 6 | 
2 files changed, 0 insertions, 7 deletions
diff --git a/tests/osmo-auc-gen/osmo-auc-gen_test.ok b/tests/osmo-auc-gen/osmo-auc-gen_test.ok index fb7998f0..6a78886a 100644 --- a/tests/osmo-auc-gen/osmo-auc-gen_test.ok +++ b/tests/osmo-auc-gen/osmo-auc-gen_test.ok @@ -96,4 +96,3 @@ RES:	e229c19e791f2e41  SRES:	9b36efdf  Kc:	059a4f668f6fbe39  SQN:	24 -AUTS success: SQN.MS = 23 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);  }  | 
