tests: test actual support status for auth. algo
Check if library actually support Milenage, COMP128 v2 and v3 algorithms
instead of just printing enum values or nothing.
Change-Id: I2b98481f56a8381058d4b29db5e8a36eb193eee9
diff --git a/tests/auth/milenage_test.c b/tests/auth/milenage_test.c
index 0223764..473be92 100644
--- a/tests/auth/milenage_test.c
+++ b/tests/auth/milenage_test.c
@@ -50,6 +50,9 @@
const uint8_t op[16] = { 0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0 };
#endif
+ printf("MILENAGE supported: %d\n",
+ osmo_auth_supported(osmo_auth_alg_parse("MILENAGE")));
+
rc = milenage_opc_gen(opc, aud->u.umts.k, op);
printf("OP:\t%s\n", osmo_hexdump(op, sizeof(op)));