]> git.ipfire.org Git - thirdparty/openssl.git/commit
Clarify the int param getter documentation
authorMatt Caswell <matt@openssl.org>
Fri, 7 Jan 2022 17:30:39 +0000 (17:30 +0000)
committerPauli <pauli@openssl.org>
Tue, 11 Jan 2022 23:14:33 +0000 (10:14 +1100)
commit254217a4a0c9e64869495447a0e6bdc2323d4cd1
treed389e1315a6049812f85e13ae94a88c6679e8019
parente5fb4b1469f317aa92768cdf804dfa29b72cb8f3
Clarify the int param getter documentation

OSSL_PARAMs that are of type OSSL_PARAM_INTEGER or
OSSL_PARAM_UNSIGNED_INTEGER can be obtained using any of the functions
EVP_PKEY_get_int_param(), EVP_PKEY_get_size_t_param() or
EVP_PKEY_get_bn_param(). The former two will fail if the parameter is too
large to fit into the C variable. We clarify this in the documentation.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17445)
doc/man3/EVP_PKEY_gettable_params.pod