summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-03-04 12:13:11 +0000
committertb <>2023-03-04 12:13:11 +0000
commitbe0f5b14cae8d20e33bebb2173079f829912fa2a (patch)
treebde9e7b7e70e581df7de625a6b525debc197d632 /src
parent4ccd3183f94270b404e8fb1737aa39fb523abf31 (diff)
downloadopenbsd-be0f5b14cae8d20e33bebb2173079f829912fa2a.tar.gz
openbsd-be0f5b14cae8d20e33bebb2173079f829912fa2a.tar.bz2
openbsd-be0f5b14cae8d20e33bebb2173079f829912fa2a.zip
bio_chain test: fix error message
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/bio/bio_chain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/bio/bio_chain.c b/src/regress/lib/libcrypto/bio/bio_chain.c
index 83034a5413..9ab753f662 100644
--- a/src/regress/lib/libcrypto/bio/bio_chain.c
+++ b/src/regress/lib/libcrypto/bio/bio_chain.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_chain.c,v 1.14 2022/12/10 10:56:16 tb Exp $ */ 1/* $OpenBSD: bio_chain.c,v 1.15 2023/03/04 12:13:11 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -374,7 +374,7 @@ link_chains_at(size_t i, size_t j, int use_bio_push)
374 /* The two chains A[] and B[] are split into three disjoint pieces. */ 374 /* The two chains A[] and B[] are split into three disjoint pieces. */
375 if (nitems(A) + nitems(B) != new_len + oldtail_len + oldhead_len) { 375 if (nitems(A) + nitems(B) != new_len + oldtail_len + oldhead_len) {
376 fprintf(stderr, "%s case (%zu, %zu) inconsistent lengths: " 376 fprintf(stderr, "%s case (%zu, %zu) inconsistent lengths: "
377 "%zu + %zu + %zu != %zu + %zu\n", fn, i, j, 377 "%zu + %zu != %zu + %zu + %zu\n", fn, i, j,
378 nitems(A), nitems(B), new_len, oldtail_len, oldhead_len); 378 nitems(A), nitems(B), new_len, oldtail_len, oldhead_len);
379 goto err; 379 goto err;
380 } 380 }