aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent7ad2ef366c3e96747dabee232a10b33d8fd2262a (diff)
downloadopenssl-970f467ac32af4fb5680eb5bc845f35618468bed.tar.gz
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 'include')
-rw-r--r--include/openssl/err.h1
-rw-r--r--include/openssl/storeerr.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/err.h b/include/openssl/err.h
index 9b807b4b01..d518d607af 100644
--- a/include/openssl/err.h
+++ b/include/openssl/err.h
@@ -164,6 +164,7 @@ typedef struct err_state_st {
# define SYS_F_OPEN 19
# define SYS_F_CLOSE 20
# define SYS_F_IOCTL 21
+# define SYS_F_STAT 22
/* reasons */
# define ERR_R_SYS_LIB ERR_LIB_SYS/* 2 */
diff --git a/include/openssl/storeerr.h b/include/openssl/storeerr.h
index 659355a3d6..1e0d23c6bd 100644
--- a/include/openssl/storeerr.h
+++ b/include/openssl/storeerr.h
@@ -25,6 +25,7 @@ int ERR_load_OSSL_STORE_strings(void);
# define OSSL_STORE_F_FILE_GET_PASS 118
# define OSSL_STORE_F_FILE_LOAD 119
# define OSSL_STORE_F_FILE_LOAD_TRY_DECODE 124
+# define OSSL_STORE_F_FILE_NAME_TO_URI 126
# define OSSL_STORE_F_FILE_OPEN 120
# define OSSL_STORE_F_OSSL_STORE_GET0_LOADER_INT 100
# define OSSL_STORE_F_OSSL_STORE_INFO_GET1_CERT 101