aboutsummaryrefslogtreecommitdiff
path: root/crypto/store/store_err.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-02-07 16:19:40 +0100
committerRichard Levitte <levitte@openssl.org>2017-06-29 11:55:32 +0200
commit970f467ac32af4fb5680eb5bc845f35618468bed (patch)
tree482c3bdd41083e34564ec688833a81d94b12d184 /crypto/store/store_err.c
parent7ad2ef366c3e96747dabee232a10b33d8fd2262a (diff)
downloadopenssl-970f467ac32af4fb5680eb5bc845f35618468bed.zip
openssl-970f467ac32af4fb5680eb5bc845f35618468bed.tar.gz
openssl-970f467ac32af4fb5680eb5bc845f35618468bed.tar.bz2
STORE 'file' scheme loader: Add directory listing capability
This has it recognised when the given path is a directory. In that case, the file loader will give back a series of names, all as URI formatted as possible given the incoming URI. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3542)
Diffstat (limited to 'crypto/store/store_err.c')
-rw-r--r--crypto/store/store_err.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/store/store_err.c b/crypto/store/store_err.c
index 9117576..681c9ff 100644
--- a/crypto/store/store_err.c
+++ b/crypto/store/store_err.c
@@ -19,6 +19,8 @@ static const ERR_STRING_DATA OSSL_STORE_str_functs[] = {
{ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_FILE_LOAD, 0), "file_load"},
{ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_FILE_LOAD_TRY_DECODE, 0),
"file_load_try_decode"},
+ {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_FILE_NAME_TO_URI, 0),
+ "file_name_to_uri"},
{ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_FILE_OPEN, 0), "file_open"},
{ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_GET0_LOADER_INT, 0),
"ossl_store_get0_loader_int"},