rpki-client: ASN.1 bit string flag errors

2022-05-12 Thread Theo Buehler
ip_addr_parse() sticks its fingers into undocumented API surface of libcrypto. What is true is that the unused bit count is in the lower three bits of p->flags, provided that ASN1_STRING_FLAG_BITS_LEFT is set. This is "documented" in asn1.h #define ASN1_STRING_FLAG_BITS_LEFT 0x08 /* Set if 0x07 h

Re: rpki-client: ASN.1 bit string flag errors

2022-05-12 Thread Claudio Jeker
On Thu, May 12, 2022 at 07:44:51PM +0200, Theo Buehler wrote: > ip_addr_parse() sticks its fingers into undocumented API surface of > libcrypto. What is true is that the unused bit count is in the lower > three bits of p->flags, provided that ASN1_STRING_FLAG_BITS_LEFT is set. > This is "documented