From abbe4cfa8df267df2bab28b840dc5208b1b74d5c Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 4 Mar 2023 12:13:11 +0000 Subject: [PATCH] bio_chain test: fix error message --- regress/lib/libcrypto/bio/bio_chain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/lib/libcrypto/bio/bio_chain.c b/regress/lib/libcrypto/bio/bio_chain.c index 83034a54136..9ab753f662f 100644 --- a/regress/lib/libcrypto/bio/bio_chain.c +++ b/regress/lib/libcrypto/bio/bio_chain.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bio_chain.c,v 1.14 2022/12/10 10:56:16 tb Exp $ */ +/* $OpenBSD: bio_chain.c,v 1.15 2023/03/04 12:13:11 tb Exp $ */ /* * Copyright (c) 2022 Theo Buehler * @@ -374,7 +374,7 @@ link_chains_at(size_t i, size_t j, int use_bio_push) /* The two chains A[] and B[] are split into three disjoint pieces. */ if (nitems(A) + nitems(B) != new_len + oldtail_len + oldhead_len) { fprintf(stderr, "%s case (%zu, %zu) inconsistent lengths: " - "%zu + %zu + %zu != %zu + %zu\n", fn, i, j, + "%zu + %zu != %zu + %zu + %zu\n", fn, i, j, nitems(A), nitems(B), new_len, oldtail_len, oldhead_len); goto err; } -- 2.20.1