summaryrefslogtreecommitdiffstats
path: root/tests/auth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth')
-rw-r--r--tests/auth/milenage_test.c4
-rw-r--r--tests/auth/milenage_test.ok2
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/auth/milenage_test.c b/tests/auth/milenage_test.c
index 473be92a..187b9adb 100644
--- a/tests/auth/milenage_test.c
+++ b/tests/auth/milenage_test.c
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
+#include <inttypes.h>
#include <osmocom/crypt/auth.h>
#include <osmocom/core/utils.h>
@@ -93,7 +94,8 @@ int main(int argc, char **argv)
if (rc < 0) {
printf("AUTS failed\n");
} else {
- printf("AUTS success: SEQ.MS = %llu\n", (unsigned long long)test_aud.u.umts.sqn);
+ printf("AUTS success: tuple generated with SQN = %" PRIu64 "\n",
+ test_aud.u.umts.sqn);
}
opc_test(&test_aud);
diff --git a/tests/auth/milenage_test.ok b/tests/auth/milenage_test.ok
index 49146a55..20c47c61 100644
--- a/tests/auth/milenage_test.ok
+++ b/tests/auth/milenage_test.ok
@@ -5,7 +5,7 @@ CK: 72 00 a1 84 d8 f2 c7 58 fb df 87 90 0d db f2 75
RES: e9 fc 88 cc c8 a3 53 81
SRES: 21 5f db 4d
Kc: 6d e8 16 a7 59 a4 29 12
-AUTS success: SEQ.MS = 33
+AUTS success: tuple generated with SQN = 33
MILENAGE supported: 1
OP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OPC: c6 a1 3b 37 87 8f 5b 82 6f 4f 81 62 a1 c8 d8 79