[openssl-dev] [openssl.org #4274] OpenSSL 1.1 X509_NAME_der()

Stephen Henson via RT rt at openssl.org
Wed Feb 3 14:22:54 UTC 2016


On Fri Jan 29 19:14:50 2016, hyc at symas.com wrote:
>
> Just to be clear - in our use case we already know the length. But if
> the
> function you're proposing is returning only a success/error code, then
> the
> function should probably also provide the length as a return
> parameter, for
> more general users.

I've added a new function:

int X509_NAME_get0_der(const unsigned char **pder, size_t *pderlen,
X509_NAME *nm)

Let me know if that suits your needs.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org



More information about the openssl-dev mailing list