diff options
author | Richard Levitte <levitte@openssl.org> | 2018-12-11 23:58:29 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-03-06 11:15:13 +0100 |
commit | 2390c573aa598b715eb592c9b4da50a71453347a (patch) | |
tree | cff4c281e12afe6665530b4825ff5b1adfdef40a /util/libcrypto.num | |
parent | Make the sparse array code use ossl_uintmax_t as its index rather than size_t. (diff) | |
download | openssl-2390c573aa598b715eb592c9b4da50a71453347a.tar.xz openssl-2390c573aa598b715eb592c9b4da50a71453347a.zip |
Add generic trace API
The idea is that the application shall be able to register output
channels or callbacks to print tracing output as it sees fit.
OpenSSL internals, on the other hand, want to print thoses texts using
normal printing routines, such as BIO_printf() or BIO_dump() through
well defined BIOs.
When the application registers callbacks, the tracing functionality
sets up an internal BIO that simply forwards received text to the
appropriate application provided callback.
Co-authored-by: Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8198)
Diffstat (limited to '')
-rw-r--r-- | util/libcrypto.num | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index 9957cf80f6..cb0cb2279b 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -4646,3 +4646,12 @@ OPENSSL_CTX_free 4601 3_0_0 EXIST::FUNCTION: OPENSSL_LH_flush 4602 3_0_0 EXIST::FUNCTION: BN_native2bn 4603 3_0_0 EXIST::FUNCTION: BN_bn2nativepad 4604 3_0_0 EXIST::FUNCTION: +OSSL_trace_get_category_num 4605 3_0_0 EXIST::FUNCTION: +OSSL_trace_get_category_name 4606 3_0_0 EXIST::FUNCTION: +OSSL_trace_set_channel 4607 3_0_0 EXIST::FUNCTION: +OSSL_trace_set_prefix 4608 3_0_0 EXIST::FUNCTION: +OSSL_trace_set_suffix 4609 3_0_0 EXIST::FUNCTION: +OSSL_trace_set_callback 4610 3_0_0 EXIST::FUNCTION: +OSSL_trace_enabled 4611 3_0_0 EXIST::FUNCTION: +OSSL_trace_begin 4612 3_0_0 EXIST::FUNCTION: +OSSL_trace_end 4613 3_0_0 EXIST::FUNCTION: |