summaryrefslogtreecommitdiffstats
path: root/include/internal/bio.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-04-27 19:56:39 +0100
committerMatt Caswell <matt@openssl.org>2021-05-04 12:00:21 +0100
commitb0ee1de9ab4fb8586934f3a8126432f06abf7115 (patch)
treea835c73699f9c0b1235e5004b8af292c52fa030f /include/internal/bio.h
parente3188bae04769242e62ae2fba96a0aca5b7ce605 (diff)
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/internal/bio.h')
-rw-r--r--include/internal/bio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/internal/bio.h b/include/internal/bio.h
index b905845a1a..2d36a7b980 100644
--- a/include/internal/bio.h
+++ b/include/internal/bio.h
@@ -86,4 +86,6 @@ int ossl_core_bio_up_ref(OSSL_CORE_BIO *cb);
int ossl_core_bio_free(OSSL_CORE_BIO *cb);
int ossl_core_bio_vprintf(OSSL_CORE_BIO *cb, const char *format, va_list args);
+int ossl_bio_init_core(OSSL_LIB_CTX *libctx, const OSSL_DISPATCH *fns);
+
#endif