Re: rpki-client factor out the filemode code

2022-04-20 Thread Claudio Jeker
On Wed, Apr 20, 2022 at 08:07:06PM +0200, Theo Buehler wrote: > On Wed, Apr 20, 2022 at 07:14:23PM +0200, Claudio Jeker wrote: > > The filemode code is enough different from the regular parser code that it > > makes sense to totally split it out. Only proc_parser_cert_validate() and > > proc_parser

Re: rpki-client factor out the filemode code

2022-04-20 Thread Theo Buehler
On Wed, Apr 20, 2022 at 07:14:23PM +0200, Claudio Jeker wrote: > The filemode code is enough different from the regular parser code that it > makes sense to totally split it out. Only proc_parser_cert_validate() and > proc_parser_root_cert() had to be duplicated which is IMO acceptable. I'm not a

rpki-client factor out the filemode code

2022-04-20 Thread Claudio Jeker
The filemode code is enough different from the regular parser code that it makes sense to totally split it out. Only proc_parser_cert_validate() and proc_parser_root_cert() had to be duplicated which is IMO acceptable. The valid_x509() plus static functions are moved to validate.c. The crl_tree co