From: Michael Baentsch Date: Fri, 24 Dec 2021 07:23:00 +0000 (+0100) Subject: document additional stack push error code X-Git-Tag: openssl-3.2.0-alpha1~3166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40586e462df76adf163e0d31879dc2d5fa90e109;p=thirdparty%2Fopenssl.git document additional stack push error code Reviewed-by: Paul Dale Reviewed-by: Kurt Roeckx Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17350) (cherry picked from commit 0caf2813245f7141b982fcfd9bda402117da115c) --- diff --git a/doc/man3/DEFINE_STACK_OF.pod b/doc/man3/DEFINE_STACK_OF.pod index ec9eda81c6f..9cec9989249 100644 --- a/doc/man3/DEFINE_STACK_OF.pod +++ b/doc/man3/DEFINE_STACK_OF.pod @@ -266,6 +266,7 @@ on error. B_insert>(), B_push>() and B_unshift>() return the total number of elements in the stack and 0 if an error occurred. +B_push>() further returns -1 if I is NULL. B_set>() returns a pointer to the replacement element or NULL on error.