KDF_CTX_new API has incorrect signature (const should not be there)
authorShakti Shah <shaktishah33@gmail.com>
Sat, 10 Feb 2024 19:39:10 +0000 (01:09 +0530)
committerTomas Mraz <tomas@openssl.org>
Wed, 14 Feb 2024 08:48:48 +0000 (09:48 +0100)
commit63b0234debdcaa304bb695205dca03f4bcaf33fd
treefaa30d1eba13bb5b878dac7e20c6366247bc3f9d
parente9ca7da666abda8c6e3e62e71f83f9deb3ae7553
KDF_CTX_new API has incorrect signature (const should not be there)

https://www.openssl.org/docs/man3.1/man3/EVP_KDF_CTX.html

The pages for 3.0/3.1/master seem to have the following
EVP_KDF_CTX *EVP_KDF_CTX_new(const EVP_KDF *kdf);

which does not match with the actual header which is
EVP_KDF_CTX *EVP_KDF_CTX_new(EVP_KDF *kdf);

Fixes #23532

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23541)

(cherry picked from commit 4f6133f9db2b9b7ce5e59d8b8ec38202a154c524)
doc/man3/EVP_KDF.pod