diff options
author | Richard Levitte <levitte@openssl.org> | 2021-03-16 14:30:59 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-04-02 08:57:47 +0200 |
commit | b638dad970c65e311e9a724b89972441268adc9f (patch) | |
tree | 639d4e58b8262d8039d4335cd49aa9e0f2060af9 /crypto | |
parent | 1010884e0a6d391d3628ffdb057f1812ef08ed73 (diff) |
Add OSSL_STORE_LOADER_description()
Fixes #14514
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14656)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/store/store_meth.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/store/store_meth.c b/crypto/store/store_meth.c index e12e517cd1..be78adaab8 100644 --- a/crypto/store/store_meth.c +++ b/crypto/store/store_meth.c @@ -402,6 +402,11 @@ int OSSL_STORE_LOADER_number(const OSSL_STORE_LOADER *loader) return loader->scheme_id; } +const char *OSSL_STORE_LOADER_description(const OSSL_STORE_LOADER *loader) +{ + return loader->description; +} + int OSSL_STORE_LOADER_is_a(const OSSL_STORE_LOADER *loader, const char *name) { if (loader->prov != NULL) { |