From: Tomas Mraz Date: Wed, 5 Jan 2022 10:18:27 +0000 (+0100) Subject: doc: Add hint to use EVP_PKEY_get_bn_param to retrieve big integers X-Git-Tag: openssl-3.2.0-alpha1~2967 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f6f4d1cc00a557232955867b6c04f767e8b5a12e;p=thirdparty%2Fopenssl.git doc: Add hint to use EVP_PKEY_get_bn_param to retrieve big integers Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/17423) --- diff --git a/doc/man3/EVP_PKEY_gettable_params.pod b/doc/man3/EVP_PKEY_gettable_params.pod index 383ca6eb58c..c6a3b43cd31 100644 --- a/doc/man3/EVP_PKEY_gettable_params.pod +++ b/doc/man3/EVP_PKEY_gettable_params.pod @@ -47,10 +47,12 @@ value that is negative or does not fit into a native C B type using EVP_PKEY_get_size_t_param() will also fail. EVP_PKEY_get_int_param() retrieves a key I integer value I<*out> -associated with a name of I. +associated with a name of I if it fits into C type. For +parameters that do not fit into C use EVP_PKEY_get_bn_param(). EVP_PKEY_get_size_t_param() retrieves a key I size_t value I<*out> -associated with a name of I. +associated with a name of I if it fits into C type. For +parameters that do not fit into C use EVP_PKEY_get_bn_param(). EVP_PKEY_get_bn_param() retrieves a key I BIGNUM value I<**bn> associated with a name of I. If I<*bn> is NULL then the BIGNUM