diff options
author | Matt Caswell <matt@openssl.org> | 2021-04-27 19:56:39 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-05-04 12:00:21 +0100 |
commit | b0ee1de9ab4fb8586934f3a8126432f06abf7115 (patch) | |
tree | a835c73699f9c0b1235e5004b8af292c52fa030f /include/openssl/crypto.h.in | |
parent | e3188bae04769242e62ae2fba96a0aca5b7ce605 (diff) | |
download | openssl-new-b0ee1de9ab4fb8586934f3a8126432f06abf7115.tar.gz |
Create libcrypto support for BIO_new_from_core_bio()
Previously the concept of wrapping an OSSL_CORE_BIO in a real BIO was an
internal only concept for our own providers. Since this is likely to be
generally useful, we make it a part of the public API.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15072)
Diffstat (limited to 'include/openssl/crypto.h.in')
-rw-r--r-- | include/openssl/crypto.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/crypto.h.in b/include/openssl/crypto.h.in index ec6f94d985..e868172acc 100644 --- a/include/openssl/crypto.h.in +++ b/include/openssl/crypto.h.in @@ -517,6 +517,7 @@ CRYPTO_THREAD_ID CRYPTO_THREAD_get_current_id(void); int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPTO_THREAD_ID b); OSSL_LIB_CTX *OSSL_LIB_CTX_new(void); +OSSL_LIB_CTX *OSSL_LIB_CTX_new_from_dispatch(const OSSL_DISPATCH *in); int OSSL_LIB_CTX_load_config(OSSL_LIB_CTX *ctx, const char *config_file); void OSSL_LIB_CTX_free(OSSL_LIB_CTX *); OSSL_LIB_CTX *OSSL_LIB_CTX_get0_global_default(void); |