diff options
author | Pauli <pauli@openssl.org> | 2021-05-10 13:05:08 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-12 18:40:57 +1000 |
commit | 4966411789f9337b311eacb5c45ddd3e750d4c17 (patch) | |
tree | 95a0932914988eb8e0f99ac603b88ecfdb81d775 /include | |
parent | b33774137202aff34a91a8caf47cc74cc35386de (diff) |
encoder: add a _name() function for encoders and decoders
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15211)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/decoder.h | 1 | ||||
-rw-r--r-- | include/openssl/encoder.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/decoder.h b/include/openssl/decoder.h index 974fbb02ad..afe4988fdb 100644 --- a/include/openssl/decoder.h +++ b/include/openssl/decoder.h @@ -34,6 +34,7 @@ void OSSL_DECODER_free(OSSL_DECODER *encoder); const OSSL_PROVIDER *OSSL_DECODER_provider(const OSSL_DECODER *encoder); const char *OSSL_DECODER_properties(const OSSL_DECODER *encoder); int OSSL_DECODER_number(const OSSL_DECODER *encoder); +const char *OSSL_DECODER_name(const OSSL_DECODER *decoder); const char *OSSL_DECODER_description(const OSSL_DECODER *decoder); int OSSL_DECODER_is_a(const OSSL_DECODER *encoder, const char *name); diff --git a/include/openssl/encoder.h b/include/openssl/encoder.h index c51bd02a2b..4e2c5fe23c 100644 --- a/include/openssl/encoder.h +++ b/include/openssl/encoder.h @@ -34,6 +34,7 @@ void OSSL_ENCODER_free(OSSL_ENCODER *encoder); const OSSL_PROVIDER *OSSL_ENCODER_provider(const OSSL_ENCODER *encoder); const char *OSSL_ENCODER_properties(const OSSL_ENCODER *encoder); int OSSL_ENCODER_number(const OSSL_ENCODER *encoder); +const char *OSSL_ENCODER_name(const OSSL_ENCODER *kdf); const char *OSSL_ENCODER_description(const OSSL_ENCODER *kdf); int OSSL_ENCODER_is_a(const OSSL_ENCODER *encoder, const char *name); |