From f6f4d1cc00a557232955867b6c04f767e8b5a12e Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 5 Jan 2022 11:18:27 +0100 Subject: [PATCH] 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) --- doc/man3/EVP_PKEY_gettable_params.pod | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.47.3