]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
doc: Add hint to use EVP_PKEY_get_bn_param to retrieve big integers
authorTomas Mraz <tomas@openssl.org>
Wed, 5 Jan 2022 10:18:27 +0000 (11:18 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 7 Feb 2022 15:28:27 +0000 (16:28 +0100)
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17423)

doc/man3/EVP_PKEY_gettable_params.pod

index 383ca6eb58cc89a88df087ec0b826e979fbdea49..c6a3b43cd316fb037002b11ebe4b5016d6166321 100644 (file)
@@ -47,10 +47,12 @@ value that is negative or does not fit into a native C B<size_t> type using
 EVP_PKEY_get_size_t_param() will also fail.
 
 EVP_PKEY_get_int_param() retrieves a key I<pkey> integer value I<*out>
-associated with a name of I<key_name>.
+associated with a name of I<key_name> if it fits into C<int> type. For
+parameters that do not fit into C<int> use EVP_PKEY_get_bn_param().
 
 EVP_PKEY_get_size_t_param() retrieves a key I<pkey> size_t value I<*out>
-associated with a name of I<key_name>.
+associated with a name of I<key_name> if it fits into C<size_t> type. For
+parameters that do not fit into C<size_t> use EVP_PKEY_get_bn_param().
 
 EVP_PKEY_get_bn_param() retrieves a key I<pkey> BIGNUM value I<**bn>
 associated with a name of I<key_name>. If I<*bn> is NULL then the BIGNUM