man page for gnutls_x509_crt_get_extension_info

Simon Josefsson simon at josefsson.org
Sun Jun 8 22:14:21 CEST 2008


Sam Varshavchik <mrsam at courier-mta.com> writes:

> Unlike other _get_() pages, the man page for this function does not
> explicitly state that if oid and sizeof_id are zeroes, sizeof_id gets
> filled in with the size of the buffer that needs to be allocated for
> the returned data.
>
> But, a brief peek at the code does suggest that this is the case. Can
> this be clarified, in the man page?

Thanks for the report, patch pushed:

http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=d44ffe657ea8c86e4836fbf824e65b40db0346b4

/Simon





More information about the Gnutls-devel mailing list