From 25bba416c07ca811f99d2602ca7e7e6fbd43c45a Mon Sep 17 00:00:00 2001 From: Martin Mirchev Date: Sun, 18 Oct 2026 14:17:05 +0800 Subject: 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 Assisted-by: Claude Code:claude-opus-5-5 Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale Reviewed-by: Shane Lontis Merge-date: Fri Oct 23 12:47:50 2026 Merged-from: https://github.com/openssl/openssl/pull/33244 --- doc/man3/OSSL_PARAM_dup.pod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/man3/OSSL_PARAM_dup.pod b/doc/man3/OSSL_PARAM_dup.pod index 9926ff41dac..983eafcde34 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 or I may be NULL. The behaviour of the merge is unpredictable if I and I 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 and I are merged; +any further entries are silently ignored. OSSL_PARAM_free() frees the parameter array I that was created using OSSL_PARAM_dup(), OSSL_PARAM_merge() or OSSL_PARAM_BLD_to_param(). -- cgit