From: Pauli Date: Tue, 1 Jun 2021 02:53:31 +0000 (+1000) Subject: Add internal get_number functions to internal headers X-Git-Tag: openssl-3.0.0-beta1~239 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e006ae77bffb4596568549d6aa4df6ef21bb8b6;p=thirdparty%2Fopenssl.git Add internal get_number functions to internal headers Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/15564) --- diff --git a/include/crypto/decoder.h b/include/crypto/decoder.h index a591e43a96f..3cf1077fca7 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 a04ba93d543..d3e2155c7e0 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 5c86660b303..13d2646bba4 100644 --- a/include/crypto/store.h +++ b/include/crypto/store.h @@ -16,5 +16,6 @@ # include void ossl_store_cleanup_int(void); +int ossl_store_loader_get_number(const OSSL_STORE_LOADER *loader); #endif