Sam Varshavchik | 8 Jun 17:08

man page for gnutls_x509_crt_get_extension_info

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?

_______________________________________________
Gnutls-devel mailing list
Gnutls-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/gnutls-devel
Simon Josefsson | 8 Jun 22:14

Re: man page for gnutls_x509_crt_get_extension_info

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

Gmane