Index | Thread | Search

From:
Job Snijders <job@bsd.nl>
Subject:
Re: rpki-client: some signed object boiler plate
To:
Theo Buehler <tb@theobuehler.org>
Cc:
tech@openbsd.org
Date:
Mon, 22 Jun 2026 15:38:36 +0000

Download raw body.

Thread
On Mon, Jun 22, 2026 at 02:59:56PM +0200, Theo Buehler wrote:
> This diff adds new/free/obj functions and introduces struct signed_obj
> containing the handlers. For now I pass der_len and time_t into the
> new function, this isn't particularly safe since the compiler won't
> complain if we call sobj->new(signtime, der_len) in the future. We can
> switch to a different approach in a later step.
> 
> For now only _new() is used in the _parse() functions. More wiring
> up will happen in a later step.

OK job@