Since we push repository information over to the parser -n mode was broken
because in that case the TA repositories did not get sent.
This little diff fixes the problem.
--
:wq Claudio
Index: repo.c
===================================================================
RCS file: /cvs/src/usr.sbin/rpki-client/repo.c,v
retrieving revision 1.20
diff -u -p -r1.20 repo.c
--- repo.c 11 Jan 2022 13:06:07 -0000 1.20
+++ repo.c 13 Jan 2022 10:28:24 -0000
@@ -1095,6 +1095,9 @@ ta_lookup(int id, struct tal *tal)
rp->ta = ta_get(tal);
+ if (repo_state(rp) != REPO_LOADING)
+ entityq_flush(&rp->queue, rp);
+
return rp;
}