summaryrefslogtreecommitdiffstats
path: root/test/testutil.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-04-28 14:37:19 +0200
committerRichard Levitte <levitte@openssl.org>2017-04-28 15:59:46 +0200
commit579d0fabcddb4a0ec4307be420f0bc7c2eea6b7c (patch)
tree727c517e198f387031b228b4154cbb02e9c18cae /test/testutil.h
parentAdd checks on return code when applying some settings. (diff)
downloadopenssl-579d0fabcddb4a0ec4307be420f0bc7c2eea6b7c.tar.xz
openssl-579d0fabcddb4a0ec4307be420f0bc7c2eea6b7c.zip
testutil: Move printing function declarations to "internal" header
These functions aren't meant to be used directly by the test programs, reflect that by making the declarations a little harder to reach, but still available enough if there's a need to override them. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3345)
Diffstat (limited to 'test/testutil.h')
-rw-r--r--test/testutil.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/test/testutil.h b/test/testutil.h
index ecf993445d..66b9e814ee 100644
--- a/test/testutil.h
+++ b/test/testutil.h
@@ -355,25 +355,9 @@ void test_info_c90(const char *desc, ...) PRINTF_FORMAT(1, 2);
OPENSSL_assert(!#condition); \
} \
} while (0)
-#endif /* HEADER_TESTUTIL_H */
-
-
-/*
- * The basic I/O functions used by the test framework. These can be
- * overriden when needed. Note that if one is, then all must be.
- */
-void test_open_streams(void);
-void test_close_streams(void);
-/* The following ALL return the number of characters written */
-int test_puts_stdout(const char *str);
-int test_puts_stderr(const char *str);
-int test_vprintf_stdout(const char *fmt, va_list ap);
-int test_vprintf_stderr(const char *fmt, va_list ap);
-/* These return failure or success */
-int test_flush_stdout(void);
-int test_flush_stderr(void);
extern BIO *bio_out;
extern BIO *bio_err;
int subtest_level(void);
+#endif /* HEADER_TESTUTIL_H */