diff options
author | Richard Levitte <levitte@openssl.org> | 2019-11-18 01:50:18 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-11-29 20:55:16 +0100 |
commit | 63665fff84a4c79cd2acece4409036699f2e44a7 (patch) | |
tree | 27946d4d24fde90316ad41d89989f4dbe46ee79f /crypto | |
parent | 54c1711f87cdc50e2266e2f0a063ccace08173d2 (diff) |
PROV BIO: add a BIO_vprintf() upcall, and a provider BIO library
The BIO_vprintf() will allow the provider to print any text, given a
BIO supplied by libcrypto.
Additionally, we add a provider library with functions to collect all
the currently supplied BIO upcalls, as well as wrappers around those
upcalls.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10394)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/provider_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/provider_core.c b/crypto/provider_core.c index 9e92e96b10..c7c579a1c8 100644 --- a/crypto/provider_core.c +++ b/crypto/provider_core.c @@ -873,6 +873,7 @@ static const OSSL_DISPATCH core_dispatch_[] = { { OSSL_FUNC_BIO_NEW_MEMBUF, (void (*)(void))BIO_new_mem_buf }, { OSSL_FUNC_BIO_READ_EX, (void (*)(void))BIO_read_ex }, { OSSL_FUNC_BIO_FREE, (void (*)(void))BIO_free }, + { OSSL_FUNC_BIO_VPRINTF, (void (*)(void))BIO_vprintf }, #endif { OSSL_FUNC_CRYPTO_MALLOC, (void (*)(void))CRYPTO_malloc }, |