diff options
author | Tomas Mraz <tomas@openssl.org> | 2024-04-02 16:43:27 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-04-04 10:46:51 +0200 |
commit | e898c367312c3ab6eb5eaac9b4be768f0d2e4b0e (patch) | |
tree | 52f0366ef776cfe60b99a0699a540788720d2148 | |
parent | Fix syntax of dependabot.yml (diff) | |
download | openssl-e898c367312c3ab6eb5eaac9b4be768f0d2e4b0e.tar.xz openssl-e898c367312c3ab6eb5eaac9b4be768f0d2e4b0e.zip |
DEFINE_STACK_OF.pod: Fix prototypes of sk_TYPE_free/zero()
They take non-const STACK_OF(TYPE)* argument.
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24023)
Diffstat (limited to '')
-rw-r--r-- | doc/man3/DEFINE_STACK_OF.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man3/DEFINE_STACK_OF.pod b/doc/man3/DEFINE_STACK_OF.pod index 7b3c724af2..8711cec79b 100644 --- a/doc/man3/DEFINE_STACK_OF.pod +++ b/doc/man3/DEFINE_STACK_OF.pod @@ -41,8 +41,8 @@ OPENSSL_sk_unshift, OPENSSL_sk_value, OPENSSL_sk_zero STACK_OF(TYPE) *sk_TYPE_new(sk_TYPE_compfunc compare); STACK_OF(TYPE) *sk_TYPE_new_null(void); int sk_TYPE_reserve(STACK_OF(TYPE) *sk, int n); - void sk_TYPE_free(const STACK_OF(TYPE) *sk); - void sk_TYPE_zero(const STACK_OF(TYPE) *sk); + void sk_TYPE_free(STACK_OF(TYPE) *sk); + void sk_TYPE_zero(STACK_OF(TYPE) *sk); TYPE *sk_TYPE_delete(STACK_OF(TYPE) *sk, int i); TYPE *sk_TYPE_delete_ptr(STACK_OF(TYPE) *sk, TYPE *ptr); int sk_TYPE_push(STACK_OF(TYPE) *sk, const TYPE *ptr); |