diff options
author | Hugo Landau <hlandau@openssl.org> | 2024-02-05 17:35:33 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2024-04-19 09:31:06 +0100 |
commit | acbae997b5ba9bd65a06cdaa89cdb5dbd9208bac (patch) | |
tree | 79935fcd04084d6f2bb9b4243c74b86afd9648a2 /test/testutil.h | |
parent | 42611831f77b129fdd8ada48e96216461bd72d48 (diff) |
testutil: Allow overriding output BIOs thread-locally
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)
Diffstat (limited to 'test/testutil.h')
-rw-r--r-- | test/testutil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testutil.h b/test/testutil.h index a247f55ed6..c23ad558c9 100644 --- a/test/testutil.h +++ b/test/testutil.h @@ -562,6 +562,10 @@ void test_perror(const char *s); extern BIO *bio_out; extern BIO *bio_err; +/* Thread local BIO overrides. */ +int set_override_bio_out(BIO *bio); +int set_override_bio_err(BIO *bio); + /* * Formatted output for strings, memory and bignums. */ |