Commit 25bba416c0 for openssl.org
commit 25bba416c07ca811f99d2602ca7e7e6fbd43c45a
Author: Martin Mirchev <mirchevmartin2203@gmail.com>
Date: Sun Oct 18 14:17:05 2026 +0800
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 <mirchevmartin2203@gmail.com>
Assisted-by: Claude Code:claude-opus-5-5
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Merge-date: Fri Oct 23 12:47:50 2026
Merged-from: https://github.com/openssl/openssl/pull/33244
diff --git a/doc/man3/OSSL_PARAM_dup.pod b/doc/man3/OSSL_PARAM_dup.pod
index 9926ff41da..983eafcde3 100644
--- a/doc/man3/OSSL_PARAM_dup.pod
+++ b/doc/man3/OSSL_PARAM_dup.pod
@@ -30,6 +30,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().