Re: change rpki-client repository code

2021-02-15 Thread Theo Buehler
> > > rt.repos = reallocarray(rt.repos, > > > rt.reposz + 1, sizeof(struct repo)); > > > > This line could be unwrapped. The code could also be simplified by using > > recallocarray() (it looks like the -portable update.sh is prepared for > > that). > > I leave that for later. There

Re: change rpki-client repository code

2021-02-15 Thread Claudio Jeker
On Mon, Feb 15, 2021 at 04:53:17PM +0100, Theo Buehler wrote: > On Fri, Feb 12, 2021 at 10:01:38AM +0100, Claudio Jeker wrote: > > On Mon, Feb 08, 2021 at 05:15:40PM +0100, Claudio Jeker wrote: > > > Split the repository code into two parts: > > > > > > - fetch of the trust anchors (the certs

Re: change rpki-client repository code

2021-02-15 Thread Theo Buehler
On Fri, Feb 12, 2021 at 10:01:38AM +0100, Claudio Jeker wrote: > On Mon, Feb 08, 2021 at 05:15:40PM +0100, Claudio Jeker wrote: > > Split the repository code into two parts: > > > > - fetch of the trust anchors (the certs referenced by TAL files) > > - fetch of the MFT files of a repository > >

Re: change rpki-client repository code

2021-02-12 Thread Claudio Jeker
On Mon, Feb 08, 2021 at 05:15:40PM +0100, Claudio Jeker wrote: > Split the repository code into two parts: > > - fetch of the trust anchors (the certs referenced by TAL files) > - fetch of the MFT files of a repository > > While the two things kind of look similar there are some differences. >

change rpki-client repository code

2021-02-08 Thread Claudio Jeker
Split the repository code into two parts: - fetch of the trust anchors (the certs referenced by TAL files) - fetch of the MFT files of a repository While the two things kind of look similar there are some differences. - TA files are loaded via rsync or https URI (only one file needs to be