[openssl] OpenSSL_1_1_1-stable update

tomas at openssl.org tomas at openssl.org
Wed Dec 29 14:35:32 UTC 2021


The branch OpenSSL_1_1_1-stable has been updated
       via  5da141ff6c617505777bee174bab8d58f8b7cae5 (commit)
      from  8a5dbc182d85eeb5778dcfd17cab945f7061c5ef (commit)


- Log -----------------------------------------------------------------
commit 5da141ff6c617505777bee174bab8d58f8b7cae5
Author: Michael Baentsch <info at baentsch.ch>
Date:   Fri Dec 24 08:32:05 2021 +0100

    document additional stack push error code
    
    Reviewed-by: Paul Dale <pauli at openssl.org>
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/17351)

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

Summary of changes:
 doc/man3/DEFINE_STACK_OF.pod | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/man3/DEFINE_STACK_OF.pod b/doc/man3/DEFINE_STACK_OF.pod
index 43a3214d58..6f4ac7ec0e 100644
--- a/doc/man3/DEFINE_STACK_OF.pod
+++ b/doc/man3/DEFINE_STACK_OF.pod
@@ -238,7 +238,8 @@ sk_TYPE_pop(), sk_TYPE_shift(), sk_TYPE_delete() and sk_TYPE_delete_ptr()
 return a pointer to the deleted element or B<NULL> on error.
 
 sk_TYPE_insert(), sk_TYPE_push() and sk_TYPE_unshift() return the total
-number of elements in the stack and 0 if an error occurred.
+number of elements in the stack and 0 if an error occurred. sk_TYPE_push()
+further returns -1 if B<sk> is B<NULL>.
 
 sk_TYPE_set() returns a pointer to the replacement element or B<NULL> on
 error.


More information about the openssl-commits mailing list