From 4f5e206dd8357f8f0c6c1fc3c6792286f6b6c609 Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 27 Apr 2020 07:40:17 +1000 Subject: [PATCH] coverity 1462577: Incorrect expression Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/11651) --- test/param_build_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/param_build_test.c b/test/param_build_test.c index a253f06318..d2cf78dc97 100644 --- a/test/param_build_test.c +++ b/test/param_build_test.c @@ -205,7 +205,7 @@ static int builder_limit_test(void) for (i = 0; i < n; i++) { names[i][0] = 'A' + (i / 26) - 1; - names[i][0] = 'a' + (i % 26) - 1; + names[i][1] = 'a' + (i % 26) - 1; names[i][2] = '\0'; if (!TEST_true(OSSL_PARAM_BLD_push_int(bld, names[i], 3 * i + 1))) goto err; -- 2.25.1