]> 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:10 +0000 (14:41 +0200)
commit0813380f2f888c57119de1ca7aa39c162588def2
tree3a6d8d4ca7f968eea1be7b4a224effd04c72fa12
parent3b613fcf9d5a114d48b882a301027d401d3846e6
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