[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Richard Levitte levitte at openssl.org
Tue Nov 22 23:38:04 UTC 2016


The branch OpenSSL_1_0_2-stable has been updated
       via  c4c71650bb670ab09ea7cc2e68cd4be7a414c855 (commit)
      from  31b430700af6c2974ead8bdbe02c6f11de81debd (commit)


- Log -----------------------------------------------------------------
commit c4c71650bb670ab09ea7cc2e68cd4be7a414c855
Author: Richard Levitte <levitte at openssl.org>
Date:   Tue Nov 22 11:22:16 2016 +0100

    Clarify what X509_NAME_online does with the given buffer and size
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/1980)
    (cherry picked from commit 19cb71ef6e414759d737918bab10be2cc1d8bd99)
    
    (cherry picked from commit 793d9b79033c2fffc8e781dab2fd678661b348cd)

-----------------------------------------------------------------------

Summary of changes:
 doc/crypto/X509_NAME_print_ex.pod | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/crypto/X509_NAME_print_ex.pod b/doc/crypto/X509_NAME_print_ex.pod
index 2579a5d..d73520f 100644
--- a/doc/crypto/X509_NAME_print_ex.pod
+++ b/doc/crypto/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


More information about the openssl-commits mailing list