summaryrefslogtreecommitdiff
path: root/test/param_build_test.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-04-27 07:40:17 +1000
committerPauli <paul.dale@oracle.com>2020-04-30 20:21:16 +1000
commit4f5e206dd8357f8f0c6c1fc3c6792286f6b6c609 (patch)
tree90531f42c9022e4b780f157cf6103ac15e4cae72 /test/param_build_test.c
parent92f0684d11de6e7ff35cd14d26160545451d1ea6 (diff)
coverity 1462577: Incorrect expression
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/11651)
Diffstat (limited to 'test/param_build_test.c')
-rw-r--r--test/param_build_test.c2
1 files changed, 1 insertions, 1 deletions
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;