]> git.ipfire.org Git - thirdparty/openssl.git/commit
crypto/bio/bio_print.c: consolidating print arguments in a structure
authorEugene Syromiatnikov <esyr@openssl.org>
Fri, 15 Aug 2025 12:18:11 +0000 (14:18 +0200)
committerNeil Horman <nhorman@openssl.org>
Fri, 29 Aug 2025 16:18:30 +0000 (12:18 -0400)
commitfff4b181bf3d7a53a24b7d975b4b6af4facd1045
tree5d80d85e2c002cc5fd3b3b92f2be204ea3340182
parentcbb0a561e64b25001039f0ac82170536b2ef4893
crypto/bio/bio_print.c: consolidating print arguments in a structure

buffer/sbuffer/maxlen/currlen are passed together between _dopr, fmt*,
and doapr_outch;  consolidate them together in a structure and pass
it instead.  A preparatory commit before introducing a separate "write
position" parameter, that is also to be passed around.

Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28177)
crypto/bio/bio_print.c