[vty] Move db usage out of the libbsc (fork dumping of subscr) (2nd part)
Follow up on 424c4f0e2927d5a7538b31c69113c6e4f861d2c9. As pointed out
by Sylvain on the mailinglist I need to remove this here as well.
Do not call db.c code from code that is located in libbsc.a
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index 8301f78..f978c27 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -531,32 +531,6 @@
vty_out(vty, " TMSI: %08X%s", subscr->tmsi,
VTY_NEWLINE);
- rc = get_authinfo_by_subscr(&ainfo, subscr);
- if (!rc) {
- vty_out(vty, " A3A8 algorithm id: %d%s",
- ainfo.auth_algo, VTY_NEWLINE);
- vty_out(vty, " A3A8 Ki: %s%s",
- hexdump(ainfo.a3a8_ki, ainfo.a3a8_ki_len),
- VTY_NEWLINE);
- }
-
- rc = get_authtuple_by_subscr(&atuple, subscr);
- if (!rc) {
- vty_out(vty, " A3A8 last tuple (used %d times):%s",
- atuple.use_count, VTY_NEWLINE);
- vty_out(vty, " seq # : %d%s",
- atuple.key_seq, VTY_NEWLINE);
- vty_out(vty, " RAND : %s%s",
- hexdump(atuple.rand, sizeof(atuple.rand)),
- VTY_NEWLINE);
- vty_out(vty, " SRES : %s%s",
- hexdump(atuple.sres, sizeof(atuple.sres)),
- VTY_NEWLINE);
- vty_out(vty, " Kc : %s%s",
- hexdump(atuple.kc, sizeof(atuple.kc)),
- VTY_NEWLINE);
- }
-
vty_out(vty, " Use count: %u%s", subscr->use_count, VTY_NEWLINE);
}