]> git.ipfire.org Git - thirdparty/openssl.git/commit
docs: update OSSL_PARAM_int documentation
authorRyan Schanzenbacher <ryan@rschanz.org>
Sat, 8 Mar 2025 04:35:32 +0000 (23:35 -0500)
committerTomas Mraz <tomas@openssl.org>
Thu, 24 Apr 2025 12:41:16 +0000 (14:41 +0200)
commitfa4d1aee27a252a4d92ec452f5a67c97769296ee
tree8af57f2feb175ccacb5f8cc5f76e10026f912810
parentaf981614be4f689d2099859cd0ae49735feb570a
docs: update OSSL_PARAM_int documentation

This change adds an example to allow compilation without warnings using
compiler options like `-Wincompatible-pointer-types-discards-qualifiers`

Code for the example was inspired by libarchive's https://github.com/libarchive/libarchive/pull/1869/commits/9e3a7e4b6c77e8aa19a69430f48917dbc15b319d

Fixes #20956

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27157)

(cherry picked from commit b83b67fe59511de951db1987fb2ab9e028e2da32)
doc/man3/OSSL_PARAM.pod
doc/man3/OSSL_PARAM_int.pod