aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mirchev <[email protected]>2026-10-18 08:17:05 +0200
committerTomas Mraz <[email protected]>2026-10-23 14:48:06 +0200
commit9db866e84f6bb9a6876cd63cba35576d2712bca6 (patch)
tree4382e5116faa07d846168dd0ccd100db4a4a425a
parentdoc: replace DES-EDE3-CBC with AES-256-CBC in PEM examples (diff)
downloadopenssl-9db866e84f6bb9a6876cd63cba35576d2712bca6.tar.gz
openssl-9db866e84f6bb9a6876cd63cba35576d2712bca6.zip
Document the OSSL_PARAM_merge() entry limit
OSSL_PARAM_merge() only considers the first 128 entries of each input array and silently ignores the rest. Mention this in the manual page. Signed-off-by: Martin Mirchev <[email protected]> Assisted-by: Claude Code:claude-opus-5-5 Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Paul Dale <[email protected]> Reviewed-by: Shane Lontis <[email protected]> Merge-date: Fri Oct 23 12:47:50 2026 Merged-from: https://github.com/openssl/openssl/pull/33244 (cherry picked from commit 25bba416c07ca811f99d2602ca7e7e6fbd43c45a)
-rw-r--r--doc/man3/OSSL_PARAM_dup.pod2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/man3/OSSL_PARAM_dup.pod b/doc/man3/OSSL_PARAM_dup.pod
index c8d109a2278..e09e1ee3ba7 100644
--- a/doc/man3/OSSL_PARAM_dup.pod
+++ b/doc/man3/OSSL_PARAM_dup.pod
@@ -29,6 +29,8 @@ function does a shallow copy of the parameters. Either I<params> or I<params1>
may be NULL. The behaviour of the merge is unpredictable if I<params> and
I<params1> contain the same key, and there are multiple entries within either
array that have the same key.
+Only the first 128 entries of each of I<params> and I<params1> are merged;
+any further entries are silently ignored.
OSSL_PARAM_free() frees the parameter array I<params> that was created using
OSSL_PARAM_dup(), OSSL_PARAM_merge() or OSSL_PARAM_BLD_to_param().