Skip to content

Commit 41b8e3d

Browse files
author
tb
committed
bio chain test: lose some do_{,bio_} prefixes
1 parent 739c741 commit 41b8e3d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/regress/lib/libcrypto/bio/bio_chain.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: bio_chain.c,v 1.1 2022/12/08 17:49:02 tb Exp $ */
1+
/* $OpenBSD: bio_chain.c,v 1.2 2022/12/08 18:10:52 tb Exp $ */
22
/*
33
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
44
*
@@ -35,7 +35,7 @@ BIO_prev(BIO *bio)
3535
}
3636

3737
static int
38-
do_bio_chain_pop_test(void)
38+
bio_chain_pop_test(void)
3939
{
4040
BIO *bio[N_CHAIN_BIOS];
4141
BIO *prev, *next;
@@ -196,7 +196,7 @@ do_bio_chain_pop_test(void)
196196
*/
197197

198198
static int
199-
do_bio_link_chains_at(size_t i, size_t j, int use_bio_push)
199+
link_chains_at(size_t i, size_t j, int use_bio_push)
200200
{
201201
BIO *A[N_CHAIN_BIOS], *B[N_CHAIN_BIOS];
202202
BIO *oldhead_start, *oldhead_end, *oldtail_start, *oldtail_end;
@@ -489,44 +489,44 @@ do_bio_link_chains_at(size_t i, size_t j, int use_bio_push)
489489
}
490490

491491
static int
492-
do_bio_link_chains(int use_bio_push)
492+
link_chains(int use_bio_push)
493493
{
494494
size_t i, j;
495495
int failure = 0;
496496

497497
for (i = 0; i < N_CHAIN_BIOS; i++) {
498498
for (j = 0; j < N_CHAIN_BIOS; j++) {
499-
failure |= do_bio_link_chains_at(i, j, use_bio_push);
499+
failure |= link_chains_at(i, j, use_bio_push);
500500
}
501501
}
502502

503503
return failure;
504504
}
505505

506506
static int
507-
do_bio_push_link_test(void)
507+
bio_push_link_test(void)
508508
{
509509
int use_bio_push = 1;
510510

511-
return do_bio_link_chains(use_bio_push);
511+
return link_chains(use_bio_push);
512512
}
513513

514514
static int
515-
do_bio_set_next_link_test(void)
515+
bio_set_next_link_test(void)
516516
{
517517
int use_bio_push = 0;
518518

519-
return do_bio_link_chains(use_bio_push);
519+
return link_chains(use_bio_push);
520520
}
521521

522522
int
523523
main(int argc, char **argv)
524524
{
525525
int failed = 0;
526526

527-
failed |= do_bio_chain_pop_test();
528-
failed |= do_bio_push_link_test();
529-
failed |= do_bio_set_next_link_test();
527+
failed |= bio_chain_pop_test();
528+
failed |= bio_push_link_test();
529+
failed |= bio_set_next_link_test();
530530

531531
return failed;
532532
}

0 commit comments

Comments
 (0)