]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/bioprinttest.c: use the whole buffer for checks
authorEugene Syromiatnikov <esyr@openssl.org>
Thu, 14 Aug 2025 07:58:01 +0000 (09:58 +0200)
committerNeil Horman <nhorman@openssl.org>
Fri, 29 Aug 2025 16:18:30 +0000 (12:18 -0400)
commitdc415d9ff18dbde023f8518505fec323881e566a
tree311dd0d5125d79eef3d3f800b975cd2c588adc8b
parentc5e3e7bfb678a847e509f73432da82745e03fd31
test/bioprinttest.c: use the whole buffer for checks

There is no need to decrement the size of buffer by 1, snprintf should
terminate the output with a \0.

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)
test/bioprinttest.c