summaryrefslogtreecommitdiffstats
path: root/crypto/store/store_local.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-10-12 16:46:41 +0200
committerRichard Levitte <levitte@openssl.org>2020-05-13 18:51:14 +0200
commit6ab6ecfd6d2d659326f427dceb1b65ae1b4b012b (patch)
tree5c720e17e9d40fc415ab3049fb056bd9aa590cf4 /crypto/store/store_local.h
parent78906fff4a6cfd5857045df770b47ae9ebcf0766 (diff)
OSSL_STORE: Make it possible to attach an OSSL_STORE to an opened BIO
This capability existed internally, and is now made public. Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/11756)
Diffstat (limited to 'crypto/store/store_local.h')
-rw-r--r--crypto/store/store_local.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/crypto/store/store_local.h b/crypto/store/store_local.h
index 7c86419031..31e04d13ad 100644
--- a/crypto/store/store_local.h
+++ b/crypto/store/store_local.h
@@ -102,6 +102,7 @@ struct ossl_store_loader_st {
const char *scheme;
ENGINE *engine;
OSSL_STORE_open_fn open;
+ OSSL_STORE_attach_fn attach;
OSSL_STORE_ctrl_fn ctrl;
OSSL_STORE_expect_fn expect;
OSSL_STORE_find_fn find;
@@ -122,13 +123,3 @@ void ossl_store_destroy_loaders_int(void);
int ossl_store_init_once(void);
int ossl_store_file_loader_init(void);
-
-/*-
- * 'file' scheme stuff
- * -------------------
- */
-
-OSSL_STORE_LOADER_CTX *ossl_store_file_attach_pem_bio_int(BIO *bp,
- OPENSSL_CTX *libctx,
- const char *propq);
-int ossl_store_file_detach_pem_bio_int(OSSL_STORE_LOADER_CTX *ctx);