]> 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:23 +0000 (14:41 +0200)
commit9f2eb6d35a35d1efdf39ef295ac3dea2436dc08a
tree92285ced4612b15e7768236188b479fc0f92b8cb
parent7b0dc07c26c83c7ef04cd485a964698ae5818ace
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