On 18 Jan 2014, at 2:25 PM, "Dr. Stephen Henson" <st...@openssl.org> wrote:

> Have a look at demos/x509/mkcert.c

I eventually found it was as simple as this:

    *extension = X509V3_EXT_conf(NULL, NULL, (char *)name, (char *)val);

What threw me was whether it was ok to pass NULL or not (it is).

Regards,
Graham
--

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to