summaryrefslogtreecommitdiffstats
path: root/crypto/store
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-03-16 14:30:59 +0100
committerRichard Levitte <levitte@openssl.org>2021-04-02 08:57:47 +0200
commitb638dad970c65e311e9a724b89972441268adc9f (patch)
tree639d4e58b8262d8039d4335cd49aa9e0f2060af9 /crypto/store
parent1010884e0a6d391d3628ffdb057f1812ef08ed73 (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/store')
-rw-r--r--crypto/store/store_meth.c5
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) {