summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-06-01 12:53:31 +1000
committerPauli <pauli@openssl.org>2021-06-02 20:45:39 +1000
commit2e006ae77bffb4596568549d6aa4df6ef21bb8b6 (patch)
tree1fddbffc9858f6a9b98bc167799194b204b52e2b /include/crypto
parentf2e3584d10f0ee61a35e2b5862b49f71ef5630bd (diff)
Add internal get_number functions to internal headers
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15564)
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/decoder.h2
-rw-r--r--include/crypto/encoder.h1
-rw-r--r--include/crypto/store.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/include/crypto/decoder.h b/include/crypto/decoder.h
index a591e43a96..3cf1077fca 100644
--- a/include/crypto/decoder.h
+++ b/include/crypto/decoder.h
@@ -37,5 +37,7 @@ int ossl_decoder_ctx_setup_for_pkey(OSSL_DECODER_CTX *ctx,
OSSL_LIB_CTX *libctx,
const char *propquery);
+int ossl_decoder_get_number(const OSSL_DECODER *encoder);
+
#endif
diff --git a/include/crypto/encoder.h b/include/crypto/encoder.h
index a04ba93d54..d3e2155c7e 100644
--- a/include/crypto/encoder.h
+++ b/include/crypto/encoder.h
@@ -11,3 +11,4 @@
OSSL_ENCODER *ossl_encoder_fetch_by_number(OSSL_LIB_CTX *libctx, int id,
const char *properties);
+int ossl_encoder_get_number(const OSSL_ENCODER *encoder);
diff --git a/include/crypto/store.h b/include/crypto/store.h
index 5c86660b30..13d2646bba 100644
--- a/include/crypto/store.h
+++ b/include/crypto/store.h
@@ -16,5 +16,6 @@
# include <openssl/ui.h>
void ossl_store_cleanup_int(void);
+int ossl_store_loader_get_number(const OSSL_STORE_LOADER *loader);
#endif