summaryrefslogtreecommitdiffstats
path: root/doc/man3
diff options
context:
space:
mode:
authorMichael Baentsch <info@baentsch.ch>2021-12-24 08:23:00 +0100
committerTomas Mraz <tomas@openssl.org>2021-12-28 12:02:48 +0100
commit40586e462df76adf163e0d31879dc2d5fa90e109 (patch)
treebd07d667519ffcc6b582b9c38907519b1d199e50 /doc/man3
parent2080da84a49b0c52fc8c6e6caef5d373235bd3e4 (diff)
document additional stack push error code
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17350) (cherry picked from commit 0caf2813245f7141b982fcfd9bda402117da115c)
Diffstat (limited to 'doc/man3')
-rw-r--r--doc/man3/DEFINE_STACK_OF.pod1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/man3/DEFINE_STACK_OF.pod b/doc/man3/DEFINE_STACK_OF.pod
index ec9eda81c6..9cec998924 100644
--- a/doc/man3/DEFINE_STACK_OF.pod
+++ b/doc/man3/DEFINE_STACK_OF.pod
@@ -266,6 +266,7 @@ on error.
B<sk_I<TYPE>_insert>(), B<sk_I<TYPE>_push>() and B<sk_I<TYPE>_unshift>() return
the total number of elements in the stack and 0 if an error occurred.
+B<sk_I<TYPE>_push>() further returns -1 if I<sk> is NULL.
B<sk_I<TYPE>_set>() returns a pointer to the replacement element or NULL on
error.