diff options
author | Michael Baentsch <info@baentsch.ch> | 2021-12-24 08:32:05 +0100 |
---|---|---|
committer | Michael Baentsch <info@baentsch.ch> | 2021-12-24 08:32:05 +0100 |
commit | 5da141ff6c617505777bee174bab8d58f8b7cae5 (patch) | |
tree | 9d54a9073f7b8908b07361646a2e72f7599c4613 /doc | |
parent | 8a5dbc182d85eeb5778dcfd17cab945f7061c5ef (diff) |
document additional stack push error code
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17351)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/DEFINE_STACK_OF.pod | 3 |
1 files changed, 2 insertions, 1 deletions
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. |