Re: rpki-client: deserialize IPAddrBlocks in libcrypto

2022-05-10 Thread Claudio Jeker
On Tue, May 10, 2022 at 01:27:17PM +0200, Theo Buehler wrote: > This is a straightforward conversion to letting libcrypto's RFC 3779 > code parse a cert's IPAddrBlocks. The magic happens in X509V3_EXT_d2i() > in sbgp_ipaddrblk(). After that, we simply have to walk the returned > structure. The fact

rpki-client: deserialize IPAddrBlocks in libcrypto

2022-05-10 Thread Theo Buehler
This is a straightforward conversion to letting libcrypto's RFC 3779 code parse a cert's IPAddrBlocks. The magic happens in X509V3_EXT_d2i() in sbgp_ipaddrblk(). After that, we simply have to walk the returned structure. The fact that it parsed only means that it is well-formed as far as the templa