[openssl-users] Help finding replacement for ASN1_seq_unpack_X509

Salz, Rich rsalz at akamai.com
Thu Jul 21 12:57:09 UTC 2016


> 	    STACK_OF(X509)* stack = sk_x509_new_null();
> 	    sk_x509_push(stack, cert);
> 	    sk_x509_push(stack, ca);
> 
> 	    return ASN1_seq_pack_X509(stack, i2d_X509, NULL, len_out);

Okay, so your just pushing two DER-format blobs one after the other.
Yes, what you thought to do is fine. :)


More information about the openssl-users mailing list