diff options
author | Richard Levitte <levitte@openssl.org> | 2016-11-22 11:22:16 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-11-23 00:34:50 +0100 |
commit | 19cb71ef6e414759d737918bab10be2cc1d8bd99 (patch) | |
tree | b102424dc6392a22850fb0f363733dd31849f409 /doc | |
parent | 55ab86e4c202e202a2b9200291d038878a727815 (diff) | |
download | openssl-19cb71ef6e414759d737918bab10be2cc1d8bd99.tar.gz |
Clarify what X509_NAME_online does with the given buffer and size
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1980)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/X509_NAME_print_ex.pod | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/man3/X509_NAME_print_ex.pod b/doc/man3/X509_NAME_print_ex.pod index eba6276bee..3e9caa889c 100644 --- a/doc/man3/X509_NAME_print_ex.pod +++ b/doc/man3/X509_NAME_print_ex.pod @@ -23,9 +23,11 @@ can be extensively customised by use of the B<flags> parameter. X509_NAME_print_ex_fp() is identical to X509_NAME_print_ex() except the output is written to FILE pointer B<fp>. -X509_NAME_oneline() prints an ASCII version of B<a> to B<buf>. At most B<size> -bytes will be written. If B<buf> is B<NULL> then a buffer is dynamically allocated -and returned, otherwise B<buf> is returned. +X509_NAME_oneline() prints an ASCII version of B<a> to B<buf>. +If B<buf> is B<NULL> then a buffer is dynamically allocated and returned, and +B<size> is ignored. +Otherwise, at most B<size> bytes will be written, including the ending '\0', +and B<buf> is returned. X509_NAME_print() prints out B<name> to B<bp> indenting each line by B<obase> characters. Multiple lines are used if the output (including indent) exceeds |