From: Pauli Date: Sun, 26 Apr 2020 21:40:17 +0000 (+1000) Subject: coverity 1462577: Incorrect expression X-Git-Tag: openssl-3.0.0-alpha2~134 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f5e206dd8357f8f0c6c1fc3c6792286f6b6c609;p=oweals%2Fopenssl.git coverity 1462577: Incorrect expression Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/11651) --- 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;