Re: Building a DER sequence

2019-07-01 Thread Viktor Dukhovni
On Mon, Jul 01, 2019 at 09:40:25PM +, Salz, Rich via openssl-users wrote: > >I see those macros, but ... is there any documentation? > > No. There's a high-level overview at: https://www.openssl.org/docs/manmaster/man3/X509_dup.html -- Viktor.

Re: Building a DER sequence

2019-07-01 Thread Salz, Rich via openssl-users
>I see those macros, but ... is there any documentation? No.

Re: Building a DER sequence

2019-07-01 Thread Viktor Dukhovni
> On Jun 25, 2019, at 10:59 AM, Ken Goldman wrote: > > I have to build a DER byte stream for a sequence containing: > > algorithm ID > issuer > validity > subject name > extensions > > What is the general approach? See for example: https://github.com/openssl/op

Re: Building a DER sequence

2019-07-01 Thread Ken Goldman
On 6/26/2019 11:34 AM, Salz, Rich via openssl-users wrote: Do I construct a sequence and add items to it - top down? No, because then you have to go back and patch the sequence length and perhaps slide everything up or down a copule of bytes. I would look at an existing simple sequence an

Re: Building a DER sequence

2019-07-01 Thread Ken Goldman
On 6/26/2019 11:34 AM, Salz, Rich via openssl-users wrote: Do I construct a sequence and add items to it - top down? No, because then you have to go back and patch the sequence length and perhaps slide everything up or down a copule of bytes. I would look at an existing simple sequence an

Current master breaks EC tests

2019-07-01 Thread Blumenthal, Uri - 0553 - MITLL
You probably noticed, but the current master keeps breaking EC tests for the last week or so. This is on Mac: ../test/recipes/15-test_ec.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests Test Summary Report --- ../test/reci