From 970f467ac32af4fb5680eb5bc845f35618468bed Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 7 Feb 2017 16:19:40 +0100 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/3542) --- include/openssl/err.h | 1 + include/openssl/storeerr.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') 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 -- cgit v1.2.3