]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add generic trace API
authorRichard Levitte <levitte@openssl.org>
Tue, 11 Dec 2018 22:58:29 +0000 (23:58 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 6 Mar 2019 10:15:13 +0000 (11:15 +0100)
commit2390c573aa598b715eb592c9b4da50a71453347a
treecff4c281e12afe6665530b4825ff5b1adfdef40a
parent8ab53b193a8e95bb2998744bc184146eb1ddcc23
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)
crypto/build.info
crypto/include/internal/cryptlib_int.h
crypto/trace.c [new file with mode: 0644]
include/openssl/trace.h [new file with mode: 0644]
util/libcrypto.num